Skip to content

Commit

Permalink
Update postgres Docker tag to v13.16 (#5104)
Browse files Browse the repository at this point in the history
Co-authored-by: Madison Swain-Bowden <[email protected]>
  • Loading branch information
openverse-bot and AetherUnbound authored Nov 2, 2024
1 parent 47eac1b commit 6df582d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/upstream_db/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# syntax=docker/dockerfile:1

FROM postgres:13.10 AS db
FROM postgres:13.16 AS db

ARG PGCLI_VERSION

# Container optimizations
ENV PYTHONUNBUFFERED=1
ENV PIP_NO_CACHE_DIR=1
ENV PIP_NO_COLOR=1
ENV PIPX_BIN_DIR=/usr/local/bin

# Enable stop-on-error
# https://www.postgresql.org/docs/current/app-psql.html
Expand All @@ -18,10 +19,10 @@ RUN apt-get update \
&& apt-get install -yqq --no-install-recommends \
python3-boto3 \
postgresql-plpython3-13 \
python3-pip \
libpq-dev \
pipx \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& pip3 install -U pip pgcli==${PGCLI_VERSION}
&& pipx install pgcli==${PGCLI_VERSION}

COPY *.sql /docker-entrypoint-initdb.d/

0 comments on commit 6df582d

Please sign in to comment.