@@ -20,7 +20,7 @@ RUN set -eux; \
2020 ca-certificates curl wget tar unzip xz-utils bzip2 \
2121 coreutils procps iproute2 iputils-ping socat jq git git-lfs gnupg tmux sqlite3 \
2222 tini tzdata locales \
23- libcurl4 libfontconfig1 libsqlite3-0 libzstd1 libsdl2-2.0-0 libsdl1.2-compat \
23+ libcurl4 libfontconfig1 libfreetype6 libsqlite3-0 libzstd1 libsdl2-2.0-0 libsdl1.2-compat \
2424 # Required for Core Keeper
2525 xvfb xauth libxi6 \
2626 # Required for Valheim crossplay (and variously some others)
@@ -31,35 +31,37 @@ RUN set -eux; \
3131 libgdiplus \
3232 # Required for Pavlov VR (and variously some others)
3333 gdb libc++-dev; \
34- if [ "$TARGETARCH" = "amd64" ]; then \
35- dpkg --add-architecture i386; \
36- apt-get update; \
37- apt-get install -y --no-install-recommends \
38- # Required for steamcmd
39- libgcc-s1:i386 \
40- # Others
41- libstdc++6:i386 zlib1g:i386 libbz2-1.0:i386 libcurl4:i386 libcurl3-gnutls:i386 libcurl4-gnutls-dev:i386 \
42- libncurses6:i386 libncurses5:i386 libtinfo6:i386 libtinfo5:i386 libsdl2-2.0-0:i386 libssl-dev:i386; \
43- fi; \
44- if [ "$TARGETARCH" = "arm64" ]; then \
45- dpkg --add-architecture armhf; \
46- apt-get update; \
47- apt-get install -y --no-install-recommends \
48- # Required for steamcmd
49- libgcc-s1:armhf \
50- # Others
51- libstdc++6:armhf zlib1g:armhf libbz2-1.0:armhf libcurl4:armhf libcurl3-gnutls:armhf libcurl4-gnutls-dev:armhf \
52- libncurses6:armhf libncurses5:armhf libtinfo6:armhf libtinfo5:armhf libsdl2-2.0-0:armhf libssl-dev:armhf; \
53- # Add box86/box64
54- install -d -m 0755 /etc/apt/keyrings; \
55- wget -qO- "https://pi-apps-coders.github.io/box86-debs/KEY.gpg" | gpg --dearmor -o /etc/apt/keyrings/box86-archive-keyring.gpg; \
56- printf "Types: deb\n URIs: https://Pi-Apps-Coders.github.io/box86-debs/debian\n Suites: ./\n Signed-By: /etc/apt/keyrings/box86-archive-keyring.gpg" | tee /etc/apt/sources.list.d/box86.sources >/dev/null; \
57- wget -qO- "https://pi-apps-coders.github.io/box64-debs/KEY.gpg" | gpg --dearmor -o /etc/apt/keyrings/box64-archive-keyring.gpg; \
58- printf "Types: deb\n URIs: https://Pi-Apps-Coders.github.io/box64-debs/debian\n Suites: ./\n Signed-By: /etc/apt/keyrings/box64-archive-keyring.gpg" | tee /etc/apt/sources.list.d/box64.sources >/dev/null; \
59- apt-get update; \
60- apt-get install -y \
61- box86-generic-arm:armhf box64-generic-arm; \
62- fi; \
34+ case "$TARGETARCH" in \
35+ amd64)
36+ dpkg --add-architecture i386; \
37+ apt-get update; \
38+ apt-get install -y --no-install-recommends \
39+ # Required for steamcmd
40+ libgcc-s1:i386 \
41+ # Others
42+ libstdc++6:i386 zlib1g:i386 libbz2-1.0:i386 libcurl4:i386 libcurl3-gnutls:i386 libcurl4-gnutls-dev:i386 \
43+ libncurses6:i386 libncurses5:i386 libtinfo6:i386 libtinfo5:i386 libsdl2-2.0-0:i386 libssl-dev:i386; \
44+ ;; \
45+ arm64)
46+ dpkg --add-architecture armhf; \
47+ apt-get update; \
48+ apt-get install -y --no-install-recommends \
49+ # Required for steamcmd
50+ libgcc-s1:armhf \
51+ # Others
52+ libstdc++6:armhf zlib1g:armhf libbz2-1.0:armhf libcurl4:armhf libcurl3-gnutls:armhf libcurl4-gnutls-dev:armhf \
53+ libncurses6:armhf libncurses5:armhf libtinfo6:armhf libtinfo5:armhf libsdl2-2.0-0:armhf libssl-dev:armhf; \
54+ # Add box86/box64
55+ install -d -m 0755 /etc/apt/keyrings; \
56+ wget -qO- "https://pi-apps-coders.github.io/box86-debs/KEY.gpg" | gpg --dearmor -o /etc/apt/keyrings/box86-archive-keyring.gpg; \
57+ printf "Types: deb\n URIs: https://Pi-Apps-Coders.github.io/box86-debs/debian\n Suites: ./\n Signed-By: /etc/apt/keyrings/box86-archive-keyring.gpg" | tee /etc/apt/sources.list.d/box86.sources >/dev/null; \
58+ wget -qO- "https://pi-apps-coders.github.io/box64-debs/KEY.gpg" | gpg --dearmor -o /etc/apt/keyrings/box64-archive-keyring.gpg; \
59+ printf "Types: deb\n URIs: https://Pi-Apps-Coders.github.io/box64-debs/debian\n Suites: ./\n Signed-By: /etc/apt/keyrings/box64-archive-keyring.gpg" | tee /etc/apt/sources.list.d/box64.sources >/dev/null; \
60+ apt-get update; \
61+ apt-get install -y \
62+ box86-generic-arm:armhf box64-generic-arm; \
63+ ;; \
64+ esac; \
6365 # Temp fix if libssl1.1 needed
6466 case "$TARGETARCH" in \
6567 amd64) wget -qO libssl1.1.deb https://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb;; \
0 commit comments