Skip to content

Commit e8385a7

Browse files
committed
Consistency changes
1 parent 2e5836b commit e8385a7

File tree

7 files changed

+39
-37
lines changed

7 files changed

+39
-37
lines changed

base/debian/Dockerfile

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -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\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 /etc/apt/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; \
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\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; \
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\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; \
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;; \

java/lts/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ RUN set -eux; \
1212
apt-get update; \
1313
apt-get install -y --no-install-recommends fontconfig fonts-dejavu-core; \
1414
install -d -m 0755 /etc/apt/keyrings; \
15-
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 >/dev/null; \
15+
wget -qO- https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor -o /etc/apt/keyrings/adoptium.gpg; \
16+
echo "deb [signed-by=/etc/apt/keyrings/adoptium.gpg] 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; \

wine/10-stable/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN set -eux; \
1212
apt-get update; \
1313
apt-get install -y --no-install-recommends cabextract winbind wine-binfmt python3; \
1414
install -d -m 0755 /etc/apt/keyrings; \
15-
wget -O - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -; \
15+
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -; \
1616
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources; \
1717
apt-get update; \
1818
apt-get install -y --install-recommends \

wine/9-stable/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN set -eux; \
1212
apt-get update; \
1313
apt-get install -y --no-install-recommends cabextract winbind wine-binfmt python3; \
1414
install -d -m 0755 /etc/apt/keyrings; \
15-
wget -O - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -; \
15+
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -; \
1616
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources; \
1717
apt-get update; \
1818
apt-get install -y --install-recommends \

wine/devel/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN set -eux; \
1212
apt-get update; \
1313
apt-get install -y --no-install-recommends cabextract winbind wine-binfmt python3; \
1414
install -d -m 0755 /etc/apt/keyrings; \
15-
wget -O - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -; \
15+
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -; \
1616
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources; \
1717
apt-get update; \
1818
apt-get install -y --install-recommends winehq-devel; \

wine/stable/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN set -eux; \
1212
apt-get update; \
1313
apt-get install -y --no-install-recommends cabextract winbind wine-binfmt python3; \
1414
install -d -m 0755 /etc/apt/keyrings; \
15-
wget -O - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -; \
15+
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -; \
1616
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources; \
1717
apt-get update; \
1818
apt-get install -y --install-recommends winehq-stable; \

wine/staging/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN set -eux; \
1212
apt-get update; \
1313
apt-get install -y --no-install-recommends cabextract winbind wine-binfmt python3; \
1414
install -d -m 0755 /etc/apt/keyrings; \
15-
wget -O - https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -; \
15+
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -; \
1616
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources; \
1717
apt-get update; \
1818
apt-get install -y --install-recommends winehq-staging; \

0 commit comments

Comments
 (0)