mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
pkg/init-lcow: Update OpenGCS to latest version
While at it, might as well update alpine base Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
f79246e47a
commit
02f0049172
@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:349a817bdd6b293ca623ab97acf5377ccdeac7d2 AS mirror
|
FROM linuxkit/alpine:77287352db68b442534c0005edd6ff750c8189f3 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 \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
alpine-baselayout \
|
alpine-baselayout \
|
||||||
@ -7,9 +7,9 @@ RUN apk add --no-cache --initdb -p /out \
|
|||||||
musl
|
musl
|
||||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||||
|
|
||||||
FROM linuxkit/alpine:349a817bdd6b293ca623ab97acf5377ccdeac7d2 AS build
|
FROM linuxkit/alpine:77287352db68b442534c0005edd6ff750c8189f3 AS build
|
||||||
ENV OPENGCS_REPO=https://github.com/Microsoft/opengcs
|
ENV OPENGCS_REPO=https://github.com/Microsoft/opengcs
|
||||||
ENV OPENGCS_COMMIT=de29646b8dfadfc443e1467bd4b493e9068fb582
|
ENV OPENGCS_COMMIT=48ae4e3ba3d2fea746fb4dc20a72832a46f45466
|
||||||
RUN apk add --no-cache build-base curl git go musl-dev
|
RUN apk add --no-cache build-base curl git go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||||
RUN git clone $OPENGCS_REPO /go/src/github.com/Microsoft/opengcs && \
|
RUN git clone $OPENGCS_REPO /go/src/github.com/Microsoft/opengcs && \
|
||||||
|
Loading…
Reference in New Issue
Block a user