File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1
2
2
3
- FROM postgres:13.10 AS db
3
+ FROM postgres:13.16 AS db
4
4
5
5
ARG PGCLI_VERSION
6
6
7
7
# Container optimizations
8
8
ENV PYTHONUNBUFFERED=1
9
9
ENV PIP_NO_CACHE_DIR=1
10
10
ENV PIP_NO_COLOR=1
11
+ ENV PIPX_BIN_DIR=/usr/local/bin
11
12
12
13
# Enable stop-on-error
13
14
# https://www.postgresql.org/docs/current/app-psql.html
@@ -18,10 +19,10 @@ RUN apt-get update \
18
19
&& apt-get install -yqq --no-install-recommends \
19
20
python3-boto3 \
20
21
postgresql-plpython3-13 \
21
- python3-pip \
22
22
libpq-dev \
23
+ pipx \
23
24
&& apt-get autoremove -y \
24
25
&& rm -rf /var/lib/apt/lists/* \
25
- && pip3 install -U pip pgcli==${PGCLI_VERSION}
26
+ && pipx install pgcli==${PGCLI_VERSION}
26
27
27
28
COPY *.sql /docker-entrypoint-initdb.d/
You can’t perform that action at this time.
0 commit comments