This commit is contained in:
2020-05-29 16:15:39 +02:00 committed by Clément
parent af6c0d6de3
commit 8ba480c959
2 changed files with 5 additions and 5 deletions

View File

@ -4,4 +4,4 @@ ENV GIT_TERMINAL_PROMPT=0
RUN apk add --no-cache git
WORKDIR /app
COPY . .
ENTRYPOINT ["/bin/bash", "/app/entrypoint.sh"]
ENTRYPOINT ["/bin/sh", "/app/entrypoint.sh"]

View File

@ -1,7 +1,8 @@
#!/usr/bin/env bash
#!/bin/sh
# Unofficial Bash Strict Mode
set -euo pipefail
set -o noglob
set -o errexit
set -o nounset
IFS='
'
@ -15,7 +16,6 @@ else
first_file=$(echo "$EXPECTED_FILES" | cut -d' ' -f1)
mkdir -p "$(dirname "$first_file")"
cat > "$first_file"
chmod +x "$first_file"
fi
cd