changed Dockerfile.aarch64 build for rootfs-stage
Some checks failed
Docker Build / build (push) Failing after 11s
Some checks failed
Docker Build / build (push) Failing after 11s
This commit is contained in:
@@ -22,12 +22,17 @@ RUN \
|
||||
# build rootfs
|
||||
RUN \
|
||||
mkdir -p "${ROOTFS}/etc/apk" && \
|
||||
cp -a /etc/apk/keys "${ROOTFS}/etc/apk/" && \
|
||||
{ \
|
||||
echo "${MIRROR}/${REL}/main"; \
|
||||
echo "${MIRROR}/${REL}/community"; \
|
||||
} > "${ROOTFS}/etc/apk/repositories" && \
|
||||
apk --root "${ROOTFS}" --no-cache --keys-dir /etc/apk/keys add --arch ${ARCH} --initdb ${PACKAGES//,/ } && \
|
||||
sed -i -e 's/^root::/root:!:/' /root-out/etc/shadow
|
||||
apk --root "${ROOTFS}" \
|
||||
--no-cache \
|
||||
--arch ${ARCH} \
|
||||
--initdb \
|
||||
add ${PACKAGES//,/ } && \
|
||||
sed -i -e 's/^root::/root:!:/' "${ROOTFS}/etc/shadow"
|
||||
|
||||
# add s6 overlay
|
||||
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz /tmp
|
||||
|
||||
Reference in New Issue
Block a user