Skip to content

Instantly share code, notes, and snippets.

@theraw
Created March 23, 2022 19:15
Show Gist options
  • Save theraw/78ffdbf1d554b6af70628ba72b9ed6ad to your computer and use it in GitHub Desktop.
Save theraw/78ffdbf1d554b6af70628ba72b9ed6ad to your computer and use it in GitHub Desktop.
# ----------------------------------
# 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