Skip to content

Commit 3f854eb

Browse files
authored
Merge pull request #364 from pelican-eggs/update/debian-os
Update OS image to Debian 13
2 parents cd935e9 + 4106e22 commit 3f854eb

1 file changed

Lines changed: 31 additions & 19 deletions

File tree

oses/debian/Dockerfile

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,38 @@
1-
FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim
1+
FROM --platform=$TARGETOS/$TARGETARCH debian:13-slim
22

3-
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
3+
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
44

5-
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
6-
LABEL org.opencontainers.image.licenses=MIT
5+
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
6+
LABEL org.opencontainers.image.licenses=MIT
77

8-
ENV DEBIAN_FRONTEND=noninteractive
8+
ENV DEBIAN_FRONTEND=noninteractive
99

10-
RUN useradd -m -d /home/container -s /bin/bash container
10+
RUN useradd -m -d /home/container -s /bin/bash container
1111

12-
RUN ln -s /home/container/ /nonexistent
12+
RUN ln -s /home/container/ /nonexistent
1313

14-
ENV USER=container HOME=/home/container
15-
16-
## Update base packages
17-
RUN apt update \
18-
&& apt upgrade -y
14+
ENV USER=container HOME=/home/container
1915

2016
## Install dependencies
21-
RUN apt install -y gcc g++ libgcc-12-dev libc++-dev gdb libc6 git wget curl tar zip unzip binutils xz-utils liblzo2-2 cabextract iproute2 net-tools netcat-traditional telnet libatomic1 libsdl1.2debian libsdl2-2.0-0 \
22-
libfontconfig1 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadb-dev-compat libduktape207 locales ffmpeg gnupg2 apt-transport-https software-properties-common ca-certificates \
23-
liblua5.3-0 libz3-dev libzadc4 rapidjson-dev tzdata libevent-dev libzip4 libprotobuf32 libfluidsynth3 procps libstdc++6 tini
17+
RUN apt update && apt install -y --no-install-recommends \
18+
# packages for startup
19+
tini \
20+
# certificate and signature
21+
ca-certificates gnupg2 libssl-dev \
22+
# glib and gcc related packages
23+
gcc g++ libgcc-12-dev libc++-dev libc6 libstdc++6 \
24+
# downloading
25+
git wget curl \
26+
# extraction and compression
27+
tar zip unzip binutils xz-utils liblzo2-2 cabextract libzip5 libzadc4 \
28+
# network tools
29+
iproute2 net-tools telnet \
30+
# locale and timezone
31+
locales icu-devtools tzdata \
32+
# database compat
33+
sqlite3 libsqlite3-dev libmariadb-dev-compat \
34+
# aditional libraries
35+
libduktape207 liblua5.3-0 libz3-dev rapidjson-dev libevent-dev libzip5 libprotobuf32t64 libatomic1 libunwind8
2436

2537
# Temp fix for libicu66.1 for RAGE-MP and libssl1.1 for fivem and many more
2638
RUN if [ "$(uname -m)" = "x86_64" ]; then \
@@ -38,15 +50,15 @@ RUN if [ ! "$(uname -m)" = "x86_64" ]; then \
3850
fi
3951

4052
## Configure locale
41-
RUN update-locale lang=en_US.UTF-8 \
42-
&& dpkg-reconfigure --frontend noninteractive locales
53+
RUN update-locale lang=en_US.UTF-8 \
54+
&& dpkg-reconfigure --frontend noninteractive locales
4355

4456

4557
WORKDIR /home/container
4658

47-
STOPSIGNAL SIGINT
59+
STOPSIGNAL SIGINT
4860

4961
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
5062
RUN chmod +x /entrypoint.sh
51-
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
63+
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
5264
CMD ["/entrypoint.sh"]

0 commit comments

Comments
 (0)