Rewrite to not need bash

This commit is contained in:
2024-01-23 13:11:56 -06:00
parent a710a0c966
commit 3c29d6d460
6 changed files with 15 additions and 15 deletions

View File

@@ -5,7 +5,6 @@ ENV PHP_VER="php81" \
NODE_OPTIONS=--openssl-legacy-provider
RUN apk --no-cache add \
bash \
curl \
nginx \
${PHP_VER} \
@@ -31,6 +30,7 @@ RUN apk --no-cache add \
${PHP_VER}-xmlwriter \
${PHP_VER}-zip \
${PHP_VER}-zlib && \
rm -rf /var/www/localhost && \
mkdir -p \
/var/www/pterodactyl \
/run/nginx \
@@ -48,7 +48,7 @@ ADD https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz p
# Install dependencies, perform Panel installation process
RUN apk --no-cache add yarn && \
tar -xf panel.tar.gz && \
tar -xzvf panel.tar.gz && \
rm panel.tar.gz && \
chmod -R 755 storage/* bootstrap/cache && \
find storage -type d > .storage.tmpl && \
@@ -77,7 +77,7 @@ ADD https://github.com/just-containers/s6-overlay/releases/latest/download/s6-ov
ADD https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh /usr/local/bin/wait-for-it
# Download common tools
ADD https://gitea.taco.quest/Mindfang/ProjectTools/raw/branch/main/DockerUtilities/ContainerTools /usr/bin/ContainerTools
ADD https://gitea.taco.quest/Mindfang/ProjectTools/raw/branch/main/DockerUtilities/sh/ContainerTools /usr/bin/ContainerTools
# Install S6-Overlay and Wait-For-It
RUN chmod u+x /usr/local/bin/wait-for-it /etc/s6-overlay/scripts/initializer && \