Push up panel specific vagrant file

This commit is contained in:
Dane Everitt
2018-07-14 13:22:36 -07:00
parent d46761b1a2
commit c723f5c526

39
build/Dockerfile-panel Normal file
View File

@@ -0,0 +1,39 @@
FROM quay.io/pterodactyl/vagrant-core
LABEL maintainer="dane@daneeveritt.com" \
description="Docker image allowing Pterodactyl Panel to run using Vagrant."
RUN curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - \
&& curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \
&& add-apt-repository -y ppa:ondrej/php \
&& apt -y update \
&& apt -y upgrade \
&& apt -y --no-install-recommends install software-properties-common \
php7.2 \
php7.2-cli \
php7.2-gd \
php7.2-mysql \
php7.2-pdo \
php7.2-mbstring \
php7.2-tokenizer \
php7.2-bcmath \
php7.2-xml \
php7.2-fpm \
php7.2-curl \
php7.2-zip \
php7.2-xdebug \
nginx \
tar \
unzip \
git \
supervisor \
cron \
nodejs \
yarn \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 80
ENTRYPOINT /usr/bin/supervisord && service ssh start && service cron start && /bin/bash