Make cassandra to a generic yolks image

This commit is contained in:
Pascal Zarrad
2021-08-01 22:37:08 +02:00
parent b797d567e4
commit 70af7a9dff
5 changed files with 43 additions and 68 deletions

View File

@@ -0,0 +1,16 @@
FROM --platform=$BUILDPLATFORM adoptopenjdk/openjdk11:alpine-jre
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 \
&& adduser -D -h /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]