Commit 4716895d authored by David Foucher's avatar David Foucher

Add setting Europe/Paris timezone in dockerfile

parent fe1aab9d
Pipeline #3636 passed with stage
in 1 minute and 36 seconds
......@@ -2,13 +2,15 @@ FROM python:3.6
LABEL MAINTAINER "labonneformation@pole-emploi.fr"
ENV TZ=Europe/Paris
ENV LANG C.UTF-8
ENV PYTHON_VERSION 3.6
ENV TREFLE_LOG_DIR /srv/log
ARG TREFLE_VERSION
ARG TREFLE_GIT
RUN apt-get update && apt-get -y install \
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
apt-get update && apt-get -y install \
software-properties-common\
unzip \
vim \
......
......@@ -17,8 +17,10 @@ LABEL maintainer="labonneformation@pole-emploi.fr"
ENV LANG C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
ENV TZ=Europe/Paris
RUN apt-get update && apt-get -y install \
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
apt-get update && apt-get -y install \
apt-utils\
software-properties-common\
unzip \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment