From 645877d45687ef4006c8ab462b262ed763a3d31f Mon Sep 17 00:00:00 2001 From: sachk Date: Sat, 9 Jun 2018 16:40:54 +1000 Subject: [PATCH] Update to v0.7.7 --- services/php/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/php/Dockerfile b/services/php/Dockerfile index 357cb89..2e93acd 100644 --- a/services/php/Dockerfile +++ b/services/php/Dockerfile @@ -1,5 +1,7 @@ FROM php:7.2-fpm-alpine +ENV PANEL_VERSION=v0.7.7 + # Set up all the dependencies for the PHP container. RUN apk add --no-cache curl git supervisor tar unzip RUN docker-php-ext-install bcmath @@ -27,7 +29,7 @@ RUN chown -R pterodactyl:pterodactyl /var/www/html/pterodactyl /var/www/html/env # Deploy panel files. USER pterodactyl:pterodactyl -RUN curl -Lo panel.tar.gz https://github.com/Pterodactyl/Panel/releases/download/v0.7.0/panel.tar.gz +RUN curl -Lo panel.tar.gz https://github.com/Pterodactyl/Panel/releases/download/${PANEL_VERSION}/panel.tar.gz RUN tar --strip-components=1 -xzvf panel.tar.gz # Since Docker's configuration mounting feature sucks, we're going to use a cheap # workaround involving symbolic links.