Skip to content
Snippets Groups Projects
Commit 6f85731d authored by Adrien Bricchi's avatar Adrien Bricchi
Browse files

Merge branch 'date' into 'develop'

Remove the hardcoded timezone

See merge request libriciel/pole-signature/i-Parapheur-v5/i-Parapheur/ip-core!1362
parents 340aee6d af2086b4
No related branches found
No related tags found
No related merge requests found
Pipeline #94264 failed
...@@ -45,13 +45,6 @@ LABEL org.opencontainers.image.title="ip-core" ...@@ -45,13 +45,6 @@ LABEL org.opencontainers.image.title="ip-core"
LABEL org.opencontainers.image.vendor="Libriciel SCOP" LABEL org.opencontainers.image.vendor="Libriciel SCOP"
LABEL org.opencontainers.image.version="$CI_COMMIT_REF_NAME" LABEL org.opencontainers.image.version="$CI_COMMIT_REF_NAME"
# The Docker source image already contains tzdata timezones by default.
# From the Alpine doc, we just have to link and reference it : https://wiki.alpinelinux.org/wiki/Setting_the_timezone
# TODO: Set this logic in the docker-entrypoint, since the TZ will be asked to be set through a .env, AFTER the image build.
ENV TZ="Europe/Paris"
RUN cp /usr/share/zoneinfo/$TZ /etc/localtime
RUN echo $TZ > /etc/timezone
# The Docker source image already contains musl-locales by default. # The Docker source image already contains musl-locales by default.
ENV LANG="fr_FR.UTF-8" ENV LANG="fr_FR.UTF-8"
ENV LANGUAGE="fr_FR:en_US:en" ENV LANGUAGE="fr_FR:en_US:en"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment