mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-04 08:26:42 +00:00
vsudd: add /pkg/vsudd with README and example yml
Signed-off-by: Magnus Skjegstad <magnus@skjegstad.com>
This commit is contained in:
14
pkg/vsudd/Dockerfile
Normal file
14
pkg/vsudd/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
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"]
|
Reference in New Issue
Block a user