Mise à jour compose

This commit is contained in:
2025-10-14 09:49:29 +02:00
parent 4db5401403
commit 489bcbfed7
3 changed files with 73 additions and 80 deletions

View File

@@ -121,26 +121,20 @@ RUN set -eux; \
locales; \
apt-get clean; \
sed -i '/fr_FR.UTF-8/s/^# //' /etc/locale.gen; \
locale-gen; \
locale-gen;
ENV TZ=Europe/Paris
ENV LANG=fr_FR.UTF-8
ENV LANGUAGE=fr_FR:fr
ENV LC_ALL=fr_FR.UTF-8
ENV POSTGIS_MAJOR=3
ENV POSTGIS_VERSION=3.6.0+dfsg-1.pgdg13+1
RUN set -eux; \
apt-get update; \
apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR; \
apt-get install -y --no-install-recommends \
# ca-certificates: for accessing remote raster files;
# fix: https://github.com/postgis/docker-postgis/issues/307
ca-certificates \
\
postgresql-18-postgis-$POSTGIS_MAJOR=$POSTGIS_VERSION \
postgresql-18-postgis-$POSTGIS_MAJOR-scripts; \
postgresql-postgis; \
rm -rf /var/lib/apt/lists/*
# Copier uniquement les fichiers installés depuis le builder