Attempt to fix timezone problems with images

This commit is contained in:
Matthew Penner committed 2020-10-25 11:23:45 -06:00
1 parent 83c50f6415
commit 9087c245bc
20 files changed
+182 -110

No files matched your search

+2 -7
View File
@@ -7,15 +7,10 @@
FROM adoptopenjdk/openjdk11-openj9: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" ]