Skip to content

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

Run the local and CI catalog database on PostgreSQL 17 (#5807)

Olga Bulatfe6588123c63
diff --git a/docker/upstream_db/Dockerfile b/docker/upstream_db/Dockerfile
index 50d1a8381..44632eb33 100644
--- a/docker/upstream_db/Dockerfile
+++ b/docker/upstream_db/Dockerfile
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
-FROM postgres:13.16 AS db
+FROM postgres:17.12 AS db
ARG PGCLI_VERSION
@@ -18,7 +18,7 @@ RUN echo "\set ON_ERROR_STOP on" >> /root/.psqlrc
RUN apt-get update \
&& apt-get install -yqq --no-install-recommends \
python3-boto3 \
- postgresql-plpython3-13 \
+ postgresql-plpython3-17 \
libpq-dev \
pipx \
&& apt-get autoremove -y \