File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
root/etc/s6-overlay/s6-rc.d/init-custom-files Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
3- FROM alpine:3 as rootfs-stage
3+ FROM alpine:3 AS rootfs-stage
44
55# environment
66ENV REL=bookworm
2727 /root-out/var/log/*
2828
2929# set version for s6 overlay
30- ARG S6_OVERLAY_VERSION="3.2.0.2 "
30+ ARG S6_OVERLAY_VERSION="3.2.1.0 "
3131ARG S6_OVERLAY_ARCH="x86_64"
3232
3333# add s6 overlay
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
3- FROM alpine:3 as rootfs-stage
3+ FROM alpine:3 AS rootfs-stage
44
55# environment
66ENV REL=bookworm
2727 /root-out/var/log/*
2828
2929# set version for s6 overlay
30- ARG S6_OVERLAY_VERSION="3.2.0.2 "
30+ ARG S6_OVERLAY_VERSION="3.2.1.0 "
3131ARG S6_OVERLAY_ARCH="aarch64"
3232
3333# add s6 overlay
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ if [[ -e "${SCRIPTS_DIR}" ]] && [[ -n "$(/bin/ls -A ${SCRIPTS_DIR} 2>/dev/null)"
99 echo "[custom-init] Files found, executing"
1010 for SCRIPT in "${SCRIPTS_DIR}"/*; do
1111 NAME="$(basename "${SCRIPT}")"
12- if [[ -f "${SCRIPT}" ]]; then
12+ if [[ -x "${SCRIPT}" ]]; then
1313 echo "[custom-init] ${NAME}: executing..."
1414 /bin/bash "${SCRIPT}"
1515 echo "[custom-init] ${NAME}: exited $?"
16- elif [[ ! -f "${SCRIPT}" ]]; then
17- echo "[custom-init] ${NAME}: is not a file"
16+ elif [[ ! -x "${SCRIPT}" ]]; then
17+ echo "[custom-init] ${NAME}: is not an executable file"
1818 fi
1919 done
2020else
You can’t perform that action at this time.
0 commit comments