build.entrypoint.sh: use POSIX sh
-e not in the shebang as it is ignored when launched with `sh` directly Signed-off-by: Filip Kobierski <fkobi@fsfe.org>
This commit was merged in pull request #5542.
This commit is contained in:
+1
-1
@@ -30,6 +30,6 @@ COPY build.entrypoint.sh ./
|
||||
# Set the workdir
|
||||
WORKDIR /website-source
|
||||
|
||||
ENTRYPOINT ["bash", "/website-source-during-build/build.entrypoint.sh"]
|
||||
ENTRYPOINT ["sh", "/website-source-during-build/build.entrypoint.sh"]
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
set -e
|
||||
# Ran by dockerfile as entrypoint
|
||||
# Ran from the volume of the website source mounted at /website-source
|
||||
|
||||
Reference in New Issue
Block a user