diff --git a/Dockerfile b/Dockerfile index fece708..d610c49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ RUN case "${TARGETARCH}" in \ RUN mkdir -p "${ROOTFS}/etc/apk" && \ echo "${MIRROR}/${REL}/main" > "${ROOTFS}/etc/apk/repositories" && \ echo "${MIRROR}/${REL}/community" >> "${ROOTFS}/etc/apk/repositories" && \ - apk --root "${ROOTFS}" --no-cache add ${PACKAGES//,/ } && \ + apk --root "${ROOTFS}" --no-cache --keys-dir /etc/apk/keys add --arch ${ARCH} --initdb ${PACKAGES//,/ } && \ sed -i 's/^root::/root:!:/' "${ROOTFS}/etc/shadow" # s6 overlay