Skip to content

Commit

Permalink
update container timezone for alpine containers
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Aug 31, 2023
1 parent b331460 commit 4b4f7ec
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docker/build/Dockerfile-data-dev
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ RUN mkdir -p /usr/local/app && \
apk update && \
apk add --no-cache ttf-dejavu && \
apk add openssh-client && \
apk add screen
apk add screen tzdata

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
ENV TZ=America/New_York
RUN unlink /etc/localtime || true
RUN ln -s /usr/share/zoneinfo/America/New_York /etc/localtime

Expand Down
4 changes: 2 additions & 2 deletions docker/build/Dockerfile-db-dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM openjdk:8u151-jdk-alpine3.7

RUN mkdir -p /usr/local/app && \
apk update && \
apk add screen
apk add screen tzdata

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
ENV TZ=America/New_York
RUN unlink /etc/localtime || true
RUN ln -s /usr/share/zoneinfo/America/New_York /etc/localtime

Expand Down
4 changes: 2 additions & 2 deletions docker/build/Dockerfile-sched-dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ RUN mkdir -p /usr/local/app && \
apk update && \
apk add openssh-client && \
apk add curl && \
apk add screen
apk add screen tzdata

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
ENV TZ=America/New_York
RUN unlink /etc/localtime || true
RUN ln -s /usr/share/zoneinfo/America/New_York /etc/localtime

Expand Down
4 changes: 2 additions & 2 deletions docker/build/Dockerfile-submit-dev
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ FROM openjdk:8u151-jdk-alpine3.7
RUN mkdir -p /usr/local/app && \
apk update && \
apk add openssh-client && \
apk add screen
apk add screen tzdata

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
ENV TZ=America/New_York
RUN unlink /etc/localtime || true
RUN ln -s /usr/share/zoneinfo/America/New_York /etc/localtime

Expand Down

0 comments on commit 4b4f7ec

Please sign in to comment.