🗃️ Committing everything that changed 🗃️

Dockerfile
Dockerfile.7
Dockerfile.8
rootfs/root/docker/setup/02-packages.sh
rootfs/root/docker/setup/03-files.sh
rootfs/root/docker/setup/05-custom.sh
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
This commit is contained in:
casjay
2024-10-11 13:42:52 -04:00
parent 838729d4c3
commit 83b78ec6ca
8 changed files with 39 additions and 8 deletions

View File

@@ -24,9 +24,10 @@ set -o pipefail
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set env variables
exitCode=0
[ ! -f "/usr/local/etc/php-fpm.conf.default" ] || rm -Rf "/usr/local/etc/php-fpm.conf.default"
[ ! -f "/usr/local/etc/php-fpm.d/www.conf.default" ] || rm -Rf "/usr/local/etc/php-fpm.d/www.conf.default"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Predifined actions
# Predefined actions
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Main script

View File

@@ -56,7 +56,7 @@ if [ -d "/tmp/etc" ]; then
echo "Installing $config to /etc/$name"
if [ -d "$config" ]; then
mkdir -p "/etc/$name"
copy "$config/." "/etc/$name/"
copy "$config/." "/usr/local/etc/$name/"
mkdir -p "/usr/local/share/template-files/config/$name"
copy "$config/." "/usr/local/share/template-files/config/$name/"
else

View File

@@ -38,7 +38,7 @@ if [ -n "$EXT_INSTALLED" ]; then
chmod +x "$BIN_DIR/install-php-extensions"
for ext in $EXT_LIST $EXT_ADDITIONAL; do
if ! echo "$ext" | grep -q "$EXT_INSTALLED"; then
install-php-extensions $ext
apk add --no-cache php-$ext || install-php-extensions $ext
fi
done
else