-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|
@@ -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 | ||
|