Skip to content

Commit c0101a6

Browse files
committed
wip
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
1 parent c21d299 commit c0101a6

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Dockerfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ RUN apt-get update && \
3434
gnupg \
3535
dirmngr \
3636
ca-certificates \
37-
locales-all \
3837
ssl-cert \
3938
libnss-wrapper \
4039
libgssapi-krb5-2 \
@@ -128,16 +127,9 @@ FROM build-layer AS standard
128127
# make install USE_PGXS=1 PG_CONFIG=/usr/lib/postgresql/$PG_MAJOR/bin/pg_config && \
129128
# rm -rf /usr/src/pgaudit
130129

131-
# Install barman-cloud
130+
# Install all locales
132131
RUN apt-get update && \
133-
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y && \
134-
apt-get install -y --no-install-recommends \
135-
python3-pip \
136-
python3-psycopg2 \
137-
python3-setuptools \
138-
&& \
139-
pip3 install --break-system-packages --upgrade pip && \
140-
pip3 install --break-system-packages barman[cloud,azure,google,snappy,zstandard,lz4]==3.13.2
132+
apt-get install -y --no-install-recommends locales-all
141133

142134
RUN apt-get purge -y --auto-remove $(cat /build-deps.txt) && \
143135
rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/*

0 commit comments

Comments
 (0)