Merge pull request #6 from pascal-zarrad/feature/improve-cassandra-images
Improve Cassandra images
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user