Files
ampache/rootfs/root/docker/setup/05-custom.sh
casjay be13780ec1 🗃️ Committing everything that changed 🗃️
Dockerfile
rootfs/root/docker/setup/05-custom.sh
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-09-16 09:09:11 -04:00

26 lines
1013 B
Bash
Executable File

#!/usr/bin/env bash
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set bash options
set -e -o pipefail
[ "$DEBUGGER" = "on" ] && echo "Enabling debugging" && set -x$DEBUGGER_OPTIONS
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set env variables
exitCode=0
export PHP_VERSION=$PHP_VERSION NODE_VERSION=$NODE_VERSION NODE_MANAGER=$NODE_MANAGER WWW_ROOT_DIR="$WWW_ROOT_DIR"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Main script - simplified for now
echo "Skipping template downloads for faster build"
# Create necessary directories
mkdir -p /usr/share/webapps/ampache
mkdir -p /config /data
# Download Ampache if needed (commented out for now)
# cd /usr/share/webapps
# git clone https://github.com/ampache/ampache.git ampache || true
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set the exit code
exitCode=$?
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
exit $exitCode