Add pytz module

This commit is contained in:
Pascal Zarrad
2021-08-03 23:07:39 +02:00
parent 58a430d459
commit 9c976a7aad
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
LABEL org.opencontainers.image.licenses=MIT
RUN apk add --update --no-cache python3 ca-certificates curl fontconfig git openssl sqlite tar tzdata \
RUN apk add --update --no-cache python3 py3-tz ca-certificates curl fontconfig git openssl sqlite tar tzdata \
&& adduser -D -h /home/container container
USER container

View File

@@ -6,6 +6,7 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT
RUN apk add --update --no-cache python2 ca-certificates curl fontconfig git openssl sqlite tar tzdata \
&& python -m ensurepip --upgrade && pip install pytz \
&& adduser -D -h /home/container container
USER container