Add erlang images

This commit is contained in:
Pascal Zarrad committed 2021-07-14 23:30:12 +02:00
1 parent ff39426961
commit eaa2d8a25d
5 files changed
+112

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
FROM --platform=$BUILDPLATFORM erlang:24-alpine
LABEL author="Pascal Zarrad" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
LABEL org.opencontainers.image.licenses=MIT
RUN apk add --update --no-cache ca-certificates curl 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" ]