mirror of https://github.com/01-edu/public.git
fix
This commit is contained in:
parent
af6c0d6de3
commit
8ba480c959
|
@ -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"]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue