mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
pkg/audit: Fix build issue with alpine:3.7
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
9f175e1e6c
commit
84b8bce809
@ -8,7 +8,7 @@ FROM linuxkit/alpine:07f7d136e427dc68154cd5edbb2b9576f9ac5213 AS mirror
|
|||||||
COPY --from=build /home/builder/*apk /
|
COPY --from=build /home/builder/*apk /
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --initdb -p /out alpine-baselayout tini
|
RUN apk add --initdb -p /out alpine-baselayout busybox tini
|
||||||
RUN apk add --allow-untrusted -p /out /*apk
|
RUN apk add --allow-untrusted -p /out /*apk
|
||||||
|
|
||||||
# Remove apk residuals. We have a read-only rootfs, so apk is of no use.
|
# Remove apk residuals. We have a read-only rootfs, so apk is of no use.
|
||||||
|
Loading…
Reference in New Issue
Block a user