diff --git a/Dockerfile b/Dockerfile index d5f2065..07e08e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,10 +17,11 @@ RUN case "${TARGETARCH}" in \ esac # build rootfs -RUN apk add --no-cache bash xz ${PACKAGES//,/ } +RUN apk add --no-cache ${PACKAGES//,/ } # s6 overlay -RUN ARCH="$(cat /arch)" && \ +RUN mkdir -p /root-out && \ + ARCH="$(cat /arch)" && \ curl -fsSL https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz \ | tar -C "${ROOTFS}" -Jxpf - && \ curl -fsSL https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${ARCH}.tar.xz \