Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Remove `apt upgrade` from PG image, upgrade to 13.6 (#455)

Madison Swain-Bowdenc164382f99e3
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 0b51dbb4f..42bc9e912 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -75,6 +75,8 @@ jobs:
run: chmod -R 777 openverse_catalog/ tests/
- name: Test
+ # The containers must be rebuilt here because we need the dev dependencies
+ # rather than the production ones
run: |
just build
just test
diff --git a/docker/local_postgres/Dockerfile b/docker/local_postgres/Dockerfile
index b5183975a..519533cc1 100644
--- a/docker/local_postgres/Dockerfile
+++ b/docker/local_postgres/Dockerfile
@@ -1,4 +1,4 @@
-FROM postgres:13.2
+FROM postgres:13.6
ARG PGCLI_VERSION=3.2.0
@@ -8,7 +8,7 @@ ENV PIPNOCACHEDIR=1
ENV PYTHONUNBUFFERED=1
ENV PIP_NO_COLOR=1
-RUN apt-get update && apt-get -yqq upgrade && apt-get -yqq install \
+RUN apt-get update && apt-get -yqq install \
python3-boto3 \
postgresql-plpython3-13 \
python3-pip \