add mohaa image

This commit is contained in:
Th3Dilli committed 2021-09-30 22:54:38 +02:00
1 parent b69df4c990
commit b515b8a09e
4 files changed
+71 -2

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
FROM --platform=$TARGETOS/$TARGETARCH debian:bullseye-slim
LABEL author="Manuel Dielacher" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
LABEL org.opencontainers.image.licenses=MIT
RUN dpkg --add-architecture i386 \
&& apt update && apt upgrade -y \
&& apt install -y lib32gcc-s1 lib32stdc++6 libstdc++5:i386 locales \
&& update-locale lang=en_US.UTF-8 \
&& dpkg-reconfigure --frontend noninteractive locales \
&& useradd -m -d /home/container -s /bin/bash container
USER container
ENV USER=container HOME=/home/container
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]