mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-14 20:35:49 +00:00
The remaining packages will be updated with subsequent commits to also include the config label. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
15 lines
427 B
Docker
15 lines
427 B
Docker
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
|
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
|
RUN apk add --no-cache --initdb -p /out alpine-baselayout busybox musl
|
|
|
|
# Remove apk residuals. We have a read-only rootfs, so apk is of no use.
|
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
|
|
|
FROM scratch
|
|
ENTRYPOINT []
|
|
CMD []
|
|
WORKDIR /
|
|
COPY --from=mirror /out/ /
|
|
COPY init /
|
|
COPY etc etc/
|