mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
test-kernel-commit: Pull in a specific check-config.sh
This makes the package actually build reproducibly, with the downside that it requires changing the hash. Perhaps this should move to tools/alpine. Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
parent
77c5bd021d
commit
43bd083cf1
@ -3,7 +3,8 @@ FROM linuxkit/alpine:34af9cb1990debd17fae6d4198c62ce3910d9908 AS mirror
|
|||||||
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 --no-cache --initdb -p /out alpine-baselayout busybox musl bash
|
RUN apk add --no-cache --initdb -p /out alpine-baselayout busybox musl bash
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh /out/check-config.sh
|
ENV DOCKER_CHECK_CONFIG_COMMIT=72cda6a6c2f25854bea2d69168082684f2c9feca
|
||||||
|
ADD https://raw.githubusercontent.com/docker/docker/${DOCKER_CHECK_CONFIG_COMMIT}/contrib/check-config.sh /out/check-config.sh
|
||||||
ADD . ./out
|
ADD . ./out
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
Loading…
Reference in New Issue
Block a user