Created
March 23, 2022 19:15
-
-
Save theraw/78ffdbf1d554b6af70628ba72b9ed6ad to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# ---------------------------------- | |
# Pterodactyl Core Dockerfile | |
# Environment: Source Engine (GFL) | |
# Minimum Panel Version: 0.6.0 | |
# ---------------------------------- | |
FROM ubuntu:16.04 | |
MAINTAINER Pterodactyl Software, <[email protected]> | |
ENV DEBIAN_FRONTEND noninteractive | |
# Install Dependencies | |
RUN dpkg --add-architecture i386 \ | |
&& apt-get update \ | |
&& apt-get upgrade -y \ | |
&& apt-get install -y tar curl gcc g++ lib32gcc1 lib32tinfo5 lib32z1 lib32stdc++6 libtinfo5:i386 libncurses5:i386 libcurl3-gnutls:i386 gdb lsof \ | |
&& useradd -m -d /home/container container \ | |
&& mkdir -p /tmp/dumps && chmod -R 777 /tmp/ \ | |
&& chown root:root /tmp/dumps | |
USER container | |
ENV HOME /home/container | |
WORKDIR /home/container | |
COPY ./entrypoint.sh /entrypoint.sh | |
CMD ["/bin/bash", "/entrypoint.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment