fix timezones for java on alpine

This commit is contained in:
Michael (Parker) Parker 2019-03-03 19:44:59 -05:00
parent 0f094dd8eb
commit 3c5fcecb4a

View File

@ -8,7 +8,8 @@ FROM openjdk:8-jdk-alpine
LABEL author="Pterodactyl Software" maintainer="support@pterodactyl.io" LABEL author="Pterodactyl Software" maintainer="support@pterodactyl.io"
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \ RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
&& adduser -D -h /home/container container && adduser -D -h /home/container container \
&& ln -s /etc/localtime /etc/timezone
USER container USER container
ENV USER=container HOME=/home/container ENV USER=container HOME=/home/container