Compare commits
3 Commits
45172b578d
...
1.2.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
f6d067b561
|
|||
|
2962b45496
|
|||
|
535a33506b
|
@ -9,7 +9,7 @@ ENV S6_OVERLAY_ARCH=aarch64
|
||||
|
||||
FROM base-${TARGETARCH}${TARGETVARIANT}
|
||||
|
||||
ARG S6_OVERLAY_VERSION="3.1.6.2"
|
||||
ARG S6_OVERLAY_VERSION="3.2.0.0"
|
||||
|
||||
# Core variables
|
||||
ENV PUID=1000
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
if [ $ONE_SHOT == "true" ]; then
|
||||
|
||||
# Cleanly kill container by sending kill signal to supervisor process
|
||||
kill 1
|
||||
echo 0 > /run/s6-linux-init-container-results/exitcode
|
||||
/run/s6/basedir/bin/halt
|
||||
|
||||
fi
|
||||
@ -1 +1,9 @@
|
||||
echo "$e" > /run/s6-linux-init-container-results/exitcode
|
||||
#!/command/with-contenv bash
|
||||
# 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 +1,9 @@
|
||||
echo "$e" > /run/s6-linux-init-container-results/exitcode
|
||||
#!/command/with-contenv bash
|
||||
# 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