Skip to content

Commit ad49ac3

Browse files
committed
Add box86/box64 support
1 parent d02d075 commit ad49ac3

File tree

3 files changed

+24
-5
lines changed

3 files changed

+24
-5
lines changed

base/debian/Dockerfile

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ RUN set -eux; \
1818
apt-get update; \
1919
apt-get install -y --no-install-recommends \
2020
ca-certificates curl wget tar unzip xz-utils bzip2 \
21-
coreutils procps net-tools iproute2 iputils-ping socat jq git git-lfs gnupg lsof tmux sqlite3 \
21+
coreutils procps iproute2 iputils-ping socat jq git git-lfs gnupg tmux sqlite3 \
2222
tini tzdata locales \
2323
libcurl4 libfontconfig1 libsqlite3-0 libzstd1 libsdl2-2.0-0 libsdl1.2-compat \
2424
# Required for Core Keeper
2525
xvfb xauth libxi6 \
26-
# Required for Valheim crossplay (and some others)
26+
# Required for Valheim crossplay (and variously some others)
2727
libc6 libatomic1 libpulse-dev \
2828
# Required for BeamMP
2929
liblua5.3-0 \
3030
# Required for Eco
3131
libgdiplus \
32-
# Required for Pavlov VR (and some others)
32+
# Required for Pavlov VR (and variously some others)
3333
gdb libc++-dev; \
3434
if [ "$TARGETARCH" = "amd64" ]; then \
3535
dpkg --add-architecture i386; \
@@ -41,6 +41,25 @@ RUN set -eux; \
4141
libstdc++6:i386 zlib1g:i386 libbz2-1.0:i386 libcurl4:i386 libcurl3-gnutls:i386 libcurl4-gnutls-dev:i386 \
4242
libncurses6:i386 libncurses5:i386 libtinfo6:i386 libtinfo5:i386 libsdl2-2.0-0:i386 libssl-dev:i386; \
4343
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 /usr/share/keyrings/box86-archive-keyring.gpg; \
56+
printf "Types: deb\nURIs: https://Pi-Apps-Coders.github.io/box86-debs/debian\nSuites: ./\nSigned-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 /usr/share/keyrings/box64-archive-keyring.gpg; \
58+
printf "Types: deb\nURIs: https://Pi-Apps-Coders.github.io/box64-debs/debian\nSuites: ./\nSigned-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; \
4463
# Temp fix if libssl1.1 needed
4564
case "$TARGETARCH" in \
4665
amd64) wget -qO libssl1.1.deb https://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb;; \

java/lts/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN set -eux; \
1313
apt-get install -y --no-install-recommends fontconfig fonts-dejavu-core; \
1414
install -d -m 0755 /etc/apt/keyrings; \
1515
wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor | tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null; \
16-
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list; \
16+
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list >/dev/null; \
1717
apt-get update; \
1818
apt-get install -y temurin-8-jdk temurin-11-jdk temurin-17-jdk temurin-21-jdk; \
1919
apt-get clean; \

mono/latest/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN set -eux; \
1313
apt-get install -y --no-install-recommends dirmngr; \
1414
install -d -m 0755 /etc/apt/keyrings; \
1515
gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF; \
16-
echo "deb [signed-by=/etc/apt/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list; \
16+
echo "deb [signed-by=/etc/apt/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list >/dev/null; \
1717
apt-get update; \
1818
apt-get install -y mono-complete; \
1919
apt-get clean; \

0 commit comments

Comments
 (0)