Browse Source

fix

content-update
4 years ago committed by Clément
parent
commit
8ba480c959
  1. 2
      js/tests/Dockerfile
  2. 8
      js/tests/entrypoint.sh

2
js/tests/Dockerfile

@ -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"]

8
js/tests/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…
Cancel
Save