Revert timezone changes, switch user back to container

This commit is contained in:
Matthew Penner
2020-11-15 13:52:49 -07:00
parent 0859211185
commit c9fd17ef42
18 changed files with 36 additions and 90 deletions

View File

@@ -12,7 +12,9 @@ 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
USER root
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]