mono: make steamcmd work and build for arm64
This commit is contained in:
@@ -1,14 +1,22 @@
|
||||
FROM ghcr.io/parkervcp/yolks:debian
|
||||
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
|
||||
|
||||
LABEL author="Torsten Widmann" maintainer="support@goover.de"
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y upgrade
|
||||
RUN apt install -y fontconfig dirmngr
|
||||
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 apt update
|
||||
RUN apt install -y mono-complete lib32gcc-s1
|
||||
RUN apt install -y mono-complete
|
||||
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user