mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-14 13:12:20 +00:00
The new version has improvements to the Windows code as well as initial support for the VMware/virtio based Hyper-V socket interface. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
15 lines
793 B
Docker
15 lines
793 B
Docker
FROM linuxkit/go-compile:4513068d9a7e919e4ec42e2d7ee879ff5b95b7f5@sha256:bdfadbe3e4ec699ca45b67453662321ec270f2d1a1dbdbf09625776d3ebd68c5 AS virtsock-build
|
|
|
|
ENV VIRTSOCK_COMMIT=3bfdf22e3b63a7d130ae5db41c2d76eaffa444d4
|
|
RUN mkdir -p $GOPATH/src/github.com/rneugeba && \
|
|
cd $GOPATH/src/github.com/rneugeba && \
|
|
git clone https://github.com/rneugeba/virtsock.git
|
|
WORKDIR $GOPATH/src/github.com/rneugeba/virtsock
|
|
RUN git checkout $VIRTSOCK_COMMIT
|
|
RUN make build/virtsock_stress.linux
|
|
RUN cp -a build/virtsock_stress.linux /virtsock_stress
|
|
|
|
FROM linuxkit/tini:cb32c9b3ceb16505e1d62919cf28c8b52bf6d57e@sha256:1645296b3e155f8cf672f71f8d20b274bf38ee94c39dd1b58f7b18e0163b00b8
|
|
COPY --from=virtsock-build virtsock_stress bin/virtsock_stress
|
|
CMD ["/bin/tini", "/bin/virtsock_stress", "-s", "-v", "1"]
|