Skip to content

Commit

Permalink
fix for timezone setting in .env (#707) (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
rudosch authored Nov 23, 2022
1 parent 3049bfd commit 363a1af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ KEY_ALG=RSA
DNAME=cn=OwaspShepherd,ou=SecurityShepherd,o=OWASP,L=BaileÁthaCliath,ST=Laighin,C=IE
STORE_TYPE=pkcs12

TZ=Europe/Dublin

HTTP_PORT=80
HTTPS_PORT=443

Expand Down
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ RUN adduser --system --group ${RUN_USER} --home ${CATALINA_HOME}
RUN chown -R ${RUN_USER}:${RUN_GROUP} $CATALINA_HOME
USER ${RUN_USER}

ENV CATALINA_OPTS "-Duser.timezone=Europe/Dublin"

RUN rm -rf /usr/local/tomcat/webapps/ROOT
RUN patch /usr/local/tomcat/conf/server.xml /usr/local/tomcat/conf/serverxml.patch
RUN patch /usr/local/tomcat/conf/web.xml /usr/local/tomcat/conf/webxml.patch
Expand Down

0 comments on commit 363a1af

Please sign in to comment.