From a757e54283b3070aa0d6615d3543f1ed7eaf2f66 Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Tue, 23 Apr 2024 11:55:08 +0200 Subject: [PATCH] ci: restore entrypoint script for better compatibility --- Dockerfile.base | 2 ++ scripts/entrypoint.sh | 4 ++++ 2 files changed, 6 insertions(+) create mode 100755 scripts/entrypoint.sh diff --git a/Dockerfile.base b/Dockerfile.base index 0065003c..18972356 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -50,4 +50,6 @@ RUN < /etc/php/conf.d/docker.ini EOF +COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh + CMD ["sh"] diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh new file mode 100755 index 00000000..da3242d3 --- /dev/null +++ b/scripts/entrypoint.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +set -euo pipefail + +exec "$@"