Skip to content

Commit

Permalink
Perplexity : ajout de la demande
Browse files Browse the repository at this point in the history
RUN sudo timedatectl set-timezone Europe/Paris
Pour la maj de l'heure pour l'image du batch
Prise en compte de la conf Dockerfile
  • Loading branch information
jvk88511334 committed Feb 2, 2024
1 parent 1f234bb commit 67d5b06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ COPY ./docker/batch/tasks.tmpl /etc/cron.d/tasks.tmpl
# Le JAR et le script pour le batch de LN
RUN dnf install -y java-11-openjdk

RUN sudo timedatectl set-timezone Europe/Paris
RUN dnf install -y tzdata && \
ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime && \
echo "Europe/Paris" > /etc/timezone

COPY ./docker/batch/itemBatchRestartJobs.sh /scripts/itemBatchRestartJobs.sh
RUN chmod +x /scripts/itemBatchRestartJobs.sh
Expand Down

0 comments on commit 67d5b06

Please sign in to comment.