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
|
# build rootfs
|
||||||
RUN \
|
RUN \
|
||||||
mkdir -p "${ROOTFS}/etc/apk" && \
|
mkdir -p "${ROOTFS}/etc/apk" && \
|
||||||
|
cp -a /etc/apk/keys "${ROOTFS}/etc/apk/" && \
|
||||||
{ \
|
{ \
|
||||||
echo "${MIRROR}/${REL}/main"; \
|
echo "${MIRROR}/${REL}/main"; \
|
||||||
echo "${MIRROR}/${REL}/community"; \
|
echo "${MIRROR}/${REL}/community"; \
|
||||||
} > "${ROOTFS}/etc/apk/repositories" && \
|
} > "${ROOTFS}/etc/apk/repositories" && \
|
||||||
apk --root "${ROOTFS}" --no-cache --keys-dir /etc/apk/keys add --arch ${ARCH} --initdb ${PACKAGES//,/ } && \
|
apk --root "${ROOTFS}" \
|
||||||
sed -i -e 's/^root::/root:!:/' /root-out/etc/shadow
|
--no-cache \
|
||||||
|
--arch ${ARCH} \
|
||||||
|
--initdb \
|
||||||
|
add ${PACKAGES//,/ } && \
|
||||||
|
sed -i -e 's/^root::/root:!:/' "${ROOTFS}/etc/shadow"
|
||||||
|
|
||||||
# add s6 overlay
|
# add s6 overlay
|
||||||
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz /tmp
|
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