Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gOOvER committed Dec 30, 2023
1 parent 48248d9 commit 4f83e1a
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions steamcmd/python39/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM debian:bookworm-slim
FROM --platform=$BUILDPLATFORM python:3.9-slim-bookworm

LABEL author="Torsten Widmann" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4f83e1a

Please sign in to comment.