mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 05:32:36 +00:00
In addition to bug fixes, this removes the special protocol used for `shutdown` needed by old Windows builds < 14393. Signed-off-by: David Scott <dave.scott@docker.com>
15 lines
535 B
Docker
15 lines
535 B
Docker
FROM linuxkit/alpine:3683c9a66cd4da40bd7d6c7da599b2dcd738b559 AS mirror
|
|
|
|
RUN apk add --no-cache go musl-dev git build-base
|
|
ENV GOPATH=/go PATH=$PATH:/go/bin
|
|
ENV VIRTSOCK_COMMIT=f1e32d3189e0dbb81c0e752a4e214617487eb41f
|
|
|
|
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/bin/vsudd.linux /vsudd
|
|
ENTRYPOINT ["/vsudd"]
|