mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 09:39:08 +00:00
pkg/init-lcow: Update to tip of opengcs
Also adjust the building of the rootfs as this seem to have changed. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
ad09ebd493
commit
dfa684c78f
@ -9,7 +9,7 @@ RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||
|
||||
FROM linuxkit/alpine:87a0cd10449d72f374f950004467737dbf440630 AS build
|
||||
ENV OPENGCS_REPO=https://github.com/Microsoft/opengcs
|
||||
ENV OPENGCS_COMMIT=e248b10d8dae94ffaa59fae15245b4e7b6c56fbb
|
||||
ENV OPENGCS_COMMIT=285d650c8f3aa754af537871cddc273b6c5c6d58
|
||||
RUN apk add --no-cache build-base curl git go musl-dev
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||
RUN git clone $OPENGCS_REPO /go/src/github.com/Microsoft/opengcs && \
|
||||
@ -21,9 +21,7 @@ RUN mkdir /out && \
|
||||
cp -r /go/src/github.com/Microsoft/opengcs/service/bin /out/bin && \
|
||||
mkdir /out/sbin && \
|
||||
curl -fSL "https://raw.githubusercontent.com/mirror/busybox/38d966943f5288bb1f2e7219f50a92753c730b14/examples/udhcp/simple.script" -o /out/sbin/udhcpc_config.script && \
|
||||
chmod ugo+rx /out/sbin/udhcpc_config.script && \
|
||||
mkdir -p /out/root/integration && \
|
||||
cp /go/src/github.com/Microsoft/opengcs/kernelconfig/4.11/prebuildSandbox.vhdx /out/root/integration/prebuildSandbox.vhdx
|
||||
chmod ugo+rx /out/sbin/udhcpc_config.script
|
||||
|
||||
FROM scratch
|
||||
ENTRYPOINT []
|
||||
|
Loading…
Reference in New Issue
Block a user