Skip to content

Commit 6df582d

Browse files
Update postgres Docker tag to v13.16 (#5104)
Co-authored-by: Madison Swain-Bowden <bowdenm@spu.edu>
1 parent 47eac1b commit 6df582d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docker/upstream_db/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM postgres:13.10 AS db
3+
FROM postgres:13.16 AS db
44

55
ARG PGCLI_VERSION
66

77
# Container optimizations
88
ENV PYTHONUNBUFFERED=1
99
ENV PIP_NO_CACHE_DIR=1
1010
ENV PIP_NO_COLOR=1
11+
ENV PIPX_BIN_DIR=/usr/local/bin
1112

1213
# Enable stop-on-error
1314
# https://www.postgresql.org/docs/current/app-psql.html
@@ -18,10 +19,10 @@ RUN apt-get update \
1819
&& apt-get install -yqq --no-install-recommends \
1920
python3-boto3 \
2021
postgresql-plpython3-13 \
21-
python3-pip \
2222
libpq-dev \
23+
pipx \
2324
&& apt-get autoremove -y \
2425
&& rm -rf /var/lib/apt/lists/* \
25-
&& pip3 install -U pip pgcli==${PGCLI_VERSION}
26+
&& pipx install pgcli==${PGCLI_VERSION}
2627

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

0 commit comments

Comments
 (0)