fix timezones for java on alpine
This commit is contained in:
parent
0f094dd8eb
commit
3c5fcecb4a
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user