meow
Some checks failed
build mono / yolks:mono_latest (push) Failing after 2m17s

This commit is contained in:
Lara 2024-10-27 12:27:29 +02:00
commit 244bcbc6b1
Signed by: laratheprotogen
GPG key ID: 5C0296EB3165F98B
10 changed files with 241 additions and 0 deletions

28
mono/latest/Dockerfile Normal file
View file

@ -0,0 +1,28 @@
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
LABEL authors="Torsten Widmann, Lara The Protogen"
RUN apt update \
&& apt -y upgrade
RUN apt install -y fontconfig dirmngr numactl
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN sh -c 'echo "deb https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list'
RUN wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
RUN dpkg -i packages-microsoft-prod.deb
RUN apt update
RUN apt install -y mono-complete dotnet-runtime-8.0
# Only install the needed steamcmd packages on the AMD64 build
RUN if [ "$(uname -m)" = "x86_64" ]; then \
dpkg --add-architecture i386 && \
apt update && \
apt -y install lib32gcc-s1 libsdl2-2.0-0:i386; \
fi
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]