Revert to bash, wait-for-it needs it
This commit is contained in:
@@ -5,6 +5,7 @@ ENV PHP_VER="php81" \
|
|||||||
NODE_OPTIONS=--openssl-legacy-provider
|
NODE_OPTIONS=--openssl-legacy-provider
|
||||||
|
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
|
bash \
|
||||||
curl \
|
curl \
|
||||||
nginx \
|
nginx \
|
||||||
${PHP_VER} \
|
${PHP_VER} \
|
||||||
@@ -77,7 +78,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
|
ADD https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh /usr/local/bin/wait-for-it
|
||||||
|
|
||||||
# Download common tools
|
# Download common tools
|
||||||
ADD https://gitea.taco.quest/Mindfang/ProjectTools/raw/branch/main/DockerUtilities/sh/ContainerTools /usr/bin/ContainerTools
|
ADD https://gitea.taco.quest/Mindfang/ProjectTools/raw/branch/main/DockerUtilities/bash/ContainerTools /usr/bin/ContainerTools
|
||||||
|
|
||||||
# Install S6-Overlay and Wait-For-It
|
# Install S6-Overlay and Wait-For-It
|
||||||
RUN chmod u+x /usr/local/bin/wait-for-it /etc/s6-overlay/scripts/initializer && \
|
RUN chmod u+x /usr/local/bin/wait-for-it /etc/s6-overlay/scripts/initializer && \
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
#!/command/with-contenv sh
|
#!/command/with-contenv bash
|
||||||
|
|
||||||
/usr/sbin/crond -fL /dev/null
|
/usr/sbin/crond -fL /dev/null
|
@@ -1,3 +1,3 @@
|
|||||||
#!/command/with-contenv sh
|
#!/command/with-contenv bash
|
||||||
|
|
||||||
/usr/sbin/nginx -g "daemon off;"
|
/usr/sbin/nginx -g "daemon off;"
|
@@ -1,3 +1,3 @@
|
|||||||
#!/command/with-contenv sh
|
#!/command/with-contenv bash
|
||||||
|
|
||||||
/usr/sbin/php-fpm -Fc /etc/php
|
/usr/sbin/php-fpm -Fc /etc/php
|
@@ -1,4 +1,4 @@
|
|||||||
#!/command/with-contenv sh
|
#!/command/with-contenv bash
|
||||||
|
|
||||||
s6-setuidgid nginx
|
s6-setuidgid nginx
|
||||||
/usr/bin/php /var/www/pterodactyl/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3
|
/usr/bin/php /var/www/pterodactyl/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3
|
@@ -1,4 +1,4 @@
|
|||||||
#!/command/with-contenv sh
|
#!/command/with-contenv bash
|
||||||
|
|
||||||
source ContainerTools
|
source ContainerTools
|
||||||
SNAME=${0##*/}
|
SNAME=${0##*/}
|
||||||
|
Reference in New Issue
Block a user