mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-04 14:39:01 +00:00
fix: install arm
This commit is contained in:
1 file changed
+15
-4
@@ -29,7 +29,18 @@ LABEL org.opencontainers.image.licenses=MIT
|
|||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN dpkg --add-architecture i386 \
|
RUN apt update && apt upgrade -y \
|
||||||
&& apt update \
|
&& apt -y --no-install-recommends install ca-certificates curl git unzip zip tar jq wget gpg
|
||||||
&& apt upgrade -y \
|
|
||||||
&& apt -y --no-install-recommends install ca-certificates curl lib32gcc-s1-amd64-cross libsdl2-2.0-0:i386 git unzip zip tar jq wget
|
# 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
|
||||||
|
|
||||||
|
# Only install the needed steamcmd packages on the AARCH64 build
|
||||||
|
RUN if [ "$(uname -m)" = "aarch64" ]; then \
|
||||||
|
apt update && \
|
||||||
|
apt -y install lib32gcc-s1-amd64-cross libsdl2-2.0-0; \
|
||||||
|
fi
|
||||||
Reference in new issue
Block a user