From 4f83e1ae0ee47ea1a72c54d3d108b8cd681abe26 Mon Sep 17 00:00:00 2001 From: gOOvER Date: Sat, 30 Dec 2023 11:51:23 +0100 Subject: [PATCH] Update Dockerfile --- steamcmd/python39/Dockerfile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/steamcmd/python39/Dockerfile b/steamcmd/python39/Dockerfile index d8bb5ce..555ca23 100644 --- a/steamcmd/python39/Dockerfile +++ b/steamcmd/python39/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM debian:bookworm-slim +FROM --platform=$BUILDPLATFORM python:3.9-slim-bookworm LABEL author="Torsten Widmann" maintainer="info@goover.de" LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" @@ -102,16 +102,6 @@ RUN apt update -y \ aspnetcore-runtime-8.0 \ dotnet-sdk-8.0 -## Python 3.9 -RUN wget https://www.python.org/ftp/python/3.9.18/Python-3.9.18.tar.gz -RUN tar -xf Python-3.9.18.tar.gz -RUN mv Python-3.9.18 /usr/local/share/python3.9 -RUN cd /usr/local/share/python3.9 -RUN ./configure --enable-optimizations --enable-shared -RUN make -RUN make altinstall -RUN ldconfig /usr/local/share/python3.9 - ## install Mono RUN gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF RUN echo "deb [signed-by=/usr/share/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