Merge pull request #6 from pascal-zarrad/feature/improve-cassandra-images

Improve Cassandra images
This commit is contained in:
Alex
2021-08-04 01:57:49 +03:00
committed by GitHub
3 changed files with 7 additions and 1 deletions

View File

@@ -11,6 +11,11 @@ export INTERNAL_IP
# Switch to the container's working directory
cd /home/container || exit 1
# Print Java version
printf "\033[1m\033[33mcontainer@pterodactyl~ \033[0mjava -version\n"
java -version
# Print Python version
if command -v python &> /dev/null
then

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