c4k-website/infrastructure/c4k-website-build/image/resources/entrypoint.sh
erik c0e01309c3 Update scripts in docker image
Fail if something goes wrong.
2022-11-11 13:27:28 +01:00

20 lines
379 B
Bash
Executable file

#!/bin/bash
mkdir $BUILDDIR
mkdir $SOURCEDIR
set -o nounset
set -o xtrace
set -o errexit
set -eo pipefail
source /usr/local/bin/functions.sh
echo "Downloading website"
get-and-unzip-website-data
echo "Executing Custom Scripts, if applicable"
execute-scripts-when-existing
echo "Building website"
build-and-extract-website
echo "Moving files"
move-website-files-to-target