Attempt to fix timezone problems with images

This commit is contained in:
Matthew Penner
2020-10-25 11:23:45 -06:00
parent 83c50f6415
commit 9087c245bc
20 changed files with 182 additions and 110 deletions

View File

@@ -7,15 +7,10 @@
FROM openjdk:7-jre-alpine
LABEL author="Matthew Penner" maintainer="me@matthewp.io"
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
RUN apk add --update --no-cache curl ca-certificates openssl git tar bash sqlite fontconfig tzdata \
&& adduser -D -h /home/container container \
&& ln -s /etc/localtime /etc/timezone
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
&& adduser -D -h /home/container container
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]