mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-01 07:37:21 +00:00
0eb21735ae accidentally broke some package
builds by switching linuxkit/alpine to linuxkit/containerd. Let's revert
the ones that shouldn't be there.
Closes #1991
Signed-off-by: Tycho Andersen <tycho@docker.com>
15 lines
537 B
Docker
15 lines
537 B
Docker
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
|
|
|
|
RUN apk add --no-cache go musl-dev git build-base
|
|
ENV GOPATH=/go PATH=$PATH:/go/bin
|
|
ENV VIRTSOCK_COMMIT=a381dcc5bcddf1d7f449495c373dbf70f8e501c0
|
|
|
|
RUN git clone https://github.com/linuxkit/virtsock.git /go/src/github.com/linuxkit/virtsock && \
|
|
cd /go/src/github.com/linuxkit/virtsock && \
|
|
git checkout $VIRTSOCK_COMMIT && \
|
|
make vsudd
|
|
|
|
FROM scratch
|
|
COPY --from=mirror /go/src/github.com/linuxkit/virtsock/build/vsudd.linux /vsudd
|
|
ENTRYPOINT ["/vsudd"]
|