Compare commits
1 Commits
1.2.1
...
45172b578d
| Author | SHA1 | Date | |
|---|---|---|---|
|
45172b578d
|
@ -9,7 +9,7 @@ ENV S6_OVERLAY_ARCH=aarch64
|
|||||||
|
|
||||||
FROM base-${TARGETARCH}${TARGETVARIANT}
|
FROM base-${TARGETARCH}${TARGETVARIANT}
|
||||||
|
|
||||||
ARG S6_OVERLAY_VERSION="3.2.0.0"
|
ARG S6_OVERLAY_VERSION="3.1.6.2"
|
||||||
|
|
||||||
# Core variables
|
# Core variables
|
||||||
ENV PUID=1000
|
ENV PUID=1000
|
||||||
|
|||||||
@ -4,7 +4,6 @@
|
|||||||
if [ $ONE_SHOT == "true" ]; then
|
if [ $ONE_SHOT == "true" ]; then
|
||||||
|
|
||||||
# Cleanly kill container by sending kill signal to supervisor process
|
# Cleanly kill container by sending kill signal to supervisor process
|
||||||
echo 0 > /run/s6-linux-init-container-results/exitcode
|
kill 1
|
||||||
/run/s6/basedir/bin/halt
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
@ -1,9 +1 @@
|
|||||||
#!/command/with-contenv bash
|
echo "$e" > /run/s6-linux-init-container-results/exitcode
|
||||||
# shellcheck shell=bash
|
|
||||||
|
|
||||||
if [ $ONE_SHOT == "false" ]; then
|
|
||||||
|
|
||||||
# Export exit code if not a ONE_SHOT
|
|
||||||
echo "$e" > /run/s6-linux-init-container-results/exitcode
|
|
||||||
|
|
||||||
fi
|
|
||||||
@ -1,9 +1 @@
|
|||||||
#!/command/with-contenv bash
|
echo "$e" > /run/s6-linux-init-container-results/exitcode
|
||||||
# shellcheck shell=bash
|
|
||||||
|
|
||||||
if [ $ONE_SHOT == "false" ]; then
|
|
||||||
|
|
||||||
# Export exit code if not a ONE_SHOT
|
|
||||||
echo "$e" > /run/s6-linux-init-container-results/exitcode
|
|
||||||
|
|
||||||
fi
|
|
||||||
Reference in New Issue
Block a user