add mohaa image

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

22
games/mohaa/Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM --platform=$TARGETOS/$TARGETARCH debian:bullseye-slim
LABEL author="Manuel Dielacher" maintainer="th3dilli@gmx.at"
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" ]