-
-
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
3 changed files
with
165 additions
and
174 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,66 +1,66 @@ | ||
FROM debian:bookworm-slim | ||
FROM debian:bookworm-slim | ||
|
||
LABEL author="Torsten Widmann" maintainer="info@goover.de" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
LABEL author="Torsten Widmann" maintainer="info@goover.de" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
## install required packages | ||
RUN dpkg --add-architecture i386 | ||
RUN apt update | ||
RUN apt -y upgrade | ||
RUN apt install -y --no-install-recommends \ | ||
wget \ | ||
iproute2 \ | ||
gnupg2 \ | ||
software-properties-common \ | ||
libntlm0 \ | ||
winbind \ | ||
xvfb \ | ||
xauth \ | ||
python3 \ | ||
libncurses5-dev:i386 \ | ||
libncurses6 \ | ||
dbus \ | ||
libgdiplus \ | ||
lib32gcc-s1 \ | ||
netcat-openbsd \ | ||
alsa-tools \ | ||
libpulse-dev \ | ||
libasound2 \ | ||
libao-common \ | ||
gnutls-bin \ | ||
libasound2 \ | ||
locales \ | ||
gnupg \ | ||
numactl | ||
RUN dpkg --add-architecture i386 | ||
RUN apt update | ||
RUN apt -y upgrade | ||
RUN apt install -y --no-install-recommends \ | ||
wget \ | ||
iproute2 \ | ||
gnupg2 \ | ||
software-properties-common \ | ||
libntlm0 \ | ||
winbind \ | ||
xvfb \ | ||
xauth \ | ||
python3 \ | ||
libncurses5-dev:i386 \ | ||
libncurses6 \ | ||
dbus \ | ||
libgdiplus \ | ||
lib32gcc-s1 \ | ||
netcat-openbsd \ | ||
alsa-tools \ | ||
libpulse-dev \ | ||
libasound2 \ | ||
libao-common \ | ||
gnutls-bin \ | ||
libasound2 \ | ||
locales \ | ||
gnupg \ | ||
numactl | ||
|
||
RUN useradd -d /home/container -m container | ||
|
||
# Install wine and with recommends | ||
RUN mkdir -pm755 /etc/apt/keyrings | ||
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key | ||
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources | ||
RUN apt update | ||
RUN apt install --install-recommends winehq-devel cabextract -y | ||
RUN mkdir -pm755 /etc/apt/keyrings | ||
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key | ||
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources | ||
RUN apt update | ||
RUN apt install --install-recommends winehq-devel cabextract wine-binfmt -y | ||
|
||
# Set up Winetricks | ||
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks | ||
RUN chmod +x /usr/sbin/winetricks | ||
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks | ||
RUN chmod +x /usr/sbin/winetricks | ||
|
||
ENV HOME=/home/container | ||
ENV WINEPREFIX=/home/container/.wine | ||
ENV WINEDLLOVERRIDES="mscoree,mshtml=" | ||
ENV WINDEBUG=-all | ||
ENV DISPLAY=:0 | ||
ENV DISPLAY_WIDTH=1024 | ||
ENV DISPLAY_HEIGHT=768 | ||
ENV DISPLAY_DEPTH=16 | ||
ENV AUTO_UPDATE=1 | ||
ENV XVFB=1 | ||
ENV HOME=/home/container | ||
ENV WINEPREFIX=/home/container/.wine | ||
ENV WINEDLLOVERRIDES="mscoree,mshtml=" | ||
ENV DISPLAY=:0 | ||
ENV DISPLAY_WIDTH=1024 | ||
ENV DISPLAY_HEIGHT=768 | ||
ENV DISPLAY_DEPTH=16 | ||
ENV AUTO_UPDATE=1 | ||
ENV XVFB=1 | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
## Setup user and working directory | ||
RUN useradd -m -d /home/container -s /bin/bash container | ||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
COPY ./entrypoint.sh /entrypoint.sh | ||
CMD ["/bin/bash", "/entrypoint.sh"] | ||
COPY ./entrypoint.sh /entrypoint.sh | ||
CMD ["/bin/bash", "/entrypoint.sh"] |
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,65 +1,66 @@ | ||
FROM debian:bookworm-slim | ||
FROM debian:bookworm-slim | ||
|
||
LABEL author="Torsten Widmann" maintainer="info@goover.de" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
LABEL author="Torsten Widmann" maintainer="info@goover.de" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
## install required packages | ||
RUN dpkg --add-architecture i386 | ||
RUN apt update | ||
RUN apt -y upgrade | ||
RUN apt install -y --no-install-recommends \ | ||
wget \ | ||
iproute2 \ | ||
gnupg2 \ | ||
software-properties-common \ | ||
libntlm0 \ | ||
winbind \ | ||
xvfb \ | ||
xauth \ | ||
python3 \ | ||
libncurses5-dev:i386 \ | ||
libncurses6 \ | ||
dbus \ | ||
libgdiplus \ | ||
lib32gcc-s1 \ | ||
netcat-openbsd \ | ||
alsa-tools \ | ||
libpulse-dev \ | ||
libasound2 \ | ||
libao-common \ | ||
gnutls-bin \ | ||
libasound2 \ | ||
locales \ | ||
gnupg \ | ||
numactl | ||
RUN dpkg --add-architecture i386 | ||
RUN apt update | ||
RUN apt -y upgrade | ||
RUN apt install -y --no-install-recommends \ | ||
wget \ | ||
iproute2 \ | ||
gnupg2 \ | ||
software-properties-common \ | ||
libntlm0 \ | ||
winbind \ | ||
xvfb \ | ||
xauth \ | ||
python3 \ | ||
libncurses5-dev:i386 \ | ||
libncurses6 \ | ||
dbus \ | ||
libgdiplus \ | ||
lib32gcc-s1 \ | ||
netcat-openbsd \ | ||
alsa-tools \ | ||
libpulse-dev \ | ||
libasound2 \ | ||
libao-common \ | ||
gnutls-bin \ | ||
libasound2 \ | ||
locales \ | ||
gnupg \ | ||
numactl | ||
|
||
RUN useradd -d /home/container -m container | ||
|
||
# Install wine and with recommends | ||
RUN mkdir -pm755 /etc/apt/keyrings | ||
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key | ||
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources | ||
RUN apt update | ||
RUN apt install --install-recommends winehq-stable cabextract wine-binfmt -y | ||
RUN mkdir -pm755 /etc/apt/keyrings | ||
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key | ||
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources | ||
RUN apt update | ||
RUN apt install --install-recommends winehq-stable cabextract wine-binfmt -y | ||
|
||
# Set up Winetricks | ||
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks | ||
RUN chmod +x /usr/sbin/winetricks | ||
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks | ||
RUN chmod +x /usr/sbin/winetricks | ||
|
||
ENV HOME=/home/container | ||
ENV WINEPREFIX=/home/container/.wine | ||
ENV WINEDLLOVERRIDES="mscoree,mshtml=" | ||
ENV DISPLAY=:0 | ||
ENV DISPLAY_WIDTH=1024 | ||
ENV DISPLAY_HEIGHT=768 | ||
ENV DISPLAY_DEPTH=16 | ||
ENV AUTO_UPDATE=1 | ||
ENV XVFB=1 | ||
ENV HOME=/home/container | ||
ENV WINEPREFIX=/home/container/.wine | ||
ENV WINEDLLOVERRIDES="mscoree,mshtml=" | ||
ENV DISPLAY=:0 | ||
ENV DISPLAY_WIDTH=1024 | ||
ENV DISPLAY_HEIGHT=768 | ||
ENV DISPLAY_DEPTH=16 | ||
ENV AUTO_UPDATE=1 | ||
ENV XVFB=1 | ||
|
||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
## Setup user and working directory | ||
RUN useradd -m -d /home/container -s /bin/bash container | ||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
COPY ./entrypoint.sh /entrypoint.sh | ||
CMD ["/bin/bash", "/entrypoint.sh"] | ||
COPY ./entrypoint.sh /entrypoint.sh | ||
CMD ["/bin/bash", "/entrypoint.sh"] |
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,76 +1,66 @@ | ||
FROM debian:bookworm-slim | ||
FROM debian:bookworm-slim | ||
|
||
LABEL author="Torsten Widmann" maintainer="info@goover.de" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
LABEL author="Torsten Widmann" maintainer="info@goover.de" | ||
LABEL org.opencontainers.image.source="https://github.com/gOOvER/own-pterodactyl-images" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
## install required packages | ||
RUN dpkg --add-architecture i386 | ||
RUN apt update | ||
RUN apt -y upgrade | ||
RUN apt install -y --no-install-recommends \ | ||
alsa-tools \ | ||
dbus \ | ||
gnupg \ | ||
gnupg2 \ | ||
gnutls-bin \ | ||
iproute2 \ | ||
locales \ | ||
netcat-openbsd \ | ||
numactl \ | ||
python3 \ | ||
software-properties-common \ | ||
tini \ | ||
wget \ | ||
winbind \ | ||
xauth \ | ||
xvfb \ | ||
lib32gcc-s1 \ | ||
libao-common \ | ||
libasound2 \ | ||
libasound2 \ | ||
libgdiplus \ | ||
libncurses5-dev:i386 \ | ||
libncurses6 \ | ||
libntlm0 \ | ||
libpulse-dev | ||
RUN dpkg --add-architecture i386 | ||
RUN apt update | ||
RUN apt -y upgrade | ||
RUN apt install -y --no-install-recommends \ | ||
wget \ | ||
iproute2 \ | ||
gnupg2 \ | ||
software-properties-common \ | ||
libntlm0 \ | ||
winbind \ | ||
xvfb \ | ||
xauth \ | ||
python3 \ | ||
libncurses5-dev:i386 \ | ||
libncurses6 \ | ||
dbus \ | ||
libgdiplus \ | ||
lib32gcc-s1 \ | ||
netcat-openbsd \ | ||
alsa-tools \ | ||
libpulse-dev \ | ||
libasound2 \ | ||
libao-common \ | ||
gnutls-bin \ | ||
libasound2 \ | ||
locales \ | ||
gnupg \ | ||
numactl | ||
|
||
|
||
# Install wine and with recommends | ||
RUN mkdir -pm755 /etc/apt/keyrings | ||
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key | ||
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources | ||
RUN apt update | ||
RUN apt install --install-recommends winehq-staging cabextract -y | ||
RUN mkdir -pm755 /etc/apt/keyrings | ||
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key | ||
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources | ||
RUN apt update | ||
RUN apt install --install-recommends winehq-staging cabextract wine-binfmt -y | ||
|
||
# Set up Winetricks | ||
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks | ||
RUN chmod +x /usr/sbin/winetricks | ||
RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks | ||
RUN chmod +x /usr/sbin/winetricks | ||
|
||
ENV HOME=/home/container | ||
ENV WINEPREFIX=/home/container/.wine | ||
ENV WINEDLLOVERRIDES="mscoree,mshtml=" | ||
ENV DISPLAY=:0 | ||
ENV DISPLAY_WIDTH=1024 | ||
ENV DISPLAY_HEIGHT=768 | ||
ENV DISPLAY_DEPTH=16 | ||
ENV AUTO_UPDATE=1 | ||
ENV XVFB=1 | ||
|
||
# Set the locale | ||
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ | ||
locale-gen | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US:en | ||
ENV LC_ALL en_US.UTF-8 | ||
ENV HOME=/home/container | ||
ENV WINEPREFIX=/home/container/.wine | ||
ENV WINEDLLOVERRIDES="mscoree,mshtml=" | ||
ENV DISPLAY=:0 | ||
ENV DISPLAY_WIDTH=1024 | ||
ENV DISPLAY_HEIGHT=768 | ||
ENV DISPLAY_DEPTH=16 | ||
ENV AUTO_UPDATE=1 | ||
ENV XVFB=1 | ||
|
||
## Setup user and working directory | ||
RUN useradd -m -d /home/container -s /bin/bash container | ||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
RUN useradd -m -d /home/container -s /bin/bash container | ||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
||
## Copy over and execute entrypoint.sh | ||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"] | ||
CMD ["/entrypoint.sh"] | ||
COPY ./entrypoint.sh /entrypoint.sh | ||
CMD ["/bin/bash", "/entrypoint.sh"] |