Files
v2-Docker/v2_postgres/Dockerfile
Claude Project Manager 0d7d888502 Initial commit
2025-07-05 17:51:16 +02:00

20 Zeilen
569 B
Docker

FROM postgres:14
# Deutsche Locale und Zeitzone installieren
RUN apt-get update && apt-get install -y locales tzdata \
&& sed -i '/de_DE.UTF-8/s/^# //g' /etc/locale.gen \
&& locale-gen \
&& update-locale LANG=de_DE.UTF-8 \
&& ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime \
&& echo "Europe/Berlin" > /etc/timezone \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Locale-Umgebungsvariablen setzen
ENV LANG=de_DE.UTF-8
ENV LANGUAGE=de_DE:de
ENV LC_ALL=de_DE.UTF-8
# Zeitzone setzen
ENV TZ=Europe/Berlin
ENV PGTZ=Europe/Berlin