mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-04 00:18:53 +00:00
Merge pull request #3150 from djs55/revendor-virtsock
Update the vendoring of virtsock
This commit is contained in:
@@ -61,7 +61,7 @@ services:
|
||||
# VSOCK to unix domain socket forwarding. Forwards guest /var/run/docker.sock
|
||||
# to a socket on the host.
|
||||
- name: vsudd
|
||||
image: linuxkit/vsudd:v0.6
|
||||
image: linuxkit/vsudd:98e554e4f3024c318e42c1f6876b541b654acd9f
|
||||
binds:
|
||||
- /var/run:/var/run
|
||||
command: ["/vsudd", "-inport", "2376:unix:/var/run/docker.sock"]
|
||||
@@ -78,7 +78,7 @@ services:
|
||||
image: linuxkit/trim-after-delete:v0.6
|
||||
# When the host resumes from sleep, force a clock resync
|
||||
- name: host-timesync-daemon
|
||||
image: linuxkit/host-timesync-daemon:v0.6
|
||||
image: linuxkit/host-timesync-daemon:613dc55e67470ec375335a1958650c3711dc4aa6
|
||||
# Run dockerd with the vpnkit userland proxy from the vpnkit-forwarder container.
|
||||
# Bind mounts /var/run to allow vsudd to connect to docker.sock, /var/vpnkit
|
||||
# for vpnkit coordination and /run/config/docker for the configuration file.
|
||||
|
@@ -11,7 +11,7 @@ onboot:
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: vsudd
|
||||
image: linuxkit/vsudd:v0.6
|
||||
image: linuxkit/vsudd:98e554e4f3024c318e42c1f6876b541b654acd9f
|
||||
binds:
|
||||
- /run/containerd/containerd.sock:/run/containerd/containerd.sock
|
||||
command: ["/vsudd",
|
||||
|
@@ -3,7 +3,7 @@ FROM linuxkit/alpine:3683c9a66cd4da40bd7d6c7da599b2dcd738b559 AS mirror
|
||||
RUN apk add --no-cache go musl-dev git
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||
|
||||
ENV VIRTSOCK_COMMIT=a381dcc5bcddf1d7f449495c373dbf70f8e501c0
|
||||
ENV VIRTSOCK_COMMIT=f1e32d3189e0dbb81c0e752a4e214617487eb41f
|
||||
RUN mkdir -p $GOPATH/src/github.com/linuxkit && \
|
||||
cd $GOPATH/src/github.com/linuxkit && \
|
||||
git clone https://github.com/linuxkit/virtsock.git && \
|
||||
|
@@ -2,7 +2,7 @@ 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=a381dcc5bcddf1d7f449495c373dbf70f8e501c0
|
||||
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 && \
|
||||
@@ -10,5 +10,5 @@ RUN git clone https://github.com/linuxkit/virtsock.git /go/src/github.com/linuxk
|
||||
make vsudd
|
||||
|
||||
FROM scratch
|
||||
COPY --from=mirror /go/src/github.com/linuxkit/virtsock/build/vsudd.linux /vsudd
|
||||
COPY --from=mirror /go/src/github.com/linuxkit/virtsock/bin/vsudd.linux /vsudd
|
||||
ENTRYPOINT ["/vsudd"]
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "tcp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "tcp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "4", "-p", "udp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-ip", "6", "-p", "udp", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-p", "unix", "-s", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-p", "unix", "-s", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-p", "unix", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-p", "unix", "-s", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-p", "unix", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-p", "unix", "-s", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-p", "unix", "-c", "1", "-r"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-p", "unix", "-c", "1"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-p", "unix", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "1", "-l", "5", "-i", "15", "-p", "unix", "-c", "10"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-p", "unix", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "5", "-l", "5", "-i", "15", "-p", "unix", "-c", "5"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "mix"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "mix-reverse"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "mix-ipv4"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "mix-ipv6"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "mix-tcp"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "mix-udp"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -1,6 +1,6 @@
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:4dfa650d8f9c51fa68efbf75f8f12031f366e783
|
||||
image: linuxkit/test-ns:a21f996641f391d467a7842e85088a304d24fae5
|
||||
command: ["/bin/sh", "/runp-runc-net.sh", "mix-unix"]
|
||||
mounts: # for runc
|
||||
- type: cgroup
|
||||
|
@@ -15,7 +15,7 @@ RUN apk add --no-cache \
|
||||
go \
|
||||
musl-dev
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||
ENV VIRTSOCK_COMMIT=0416e3d85541e7a067fd000c69f50997b5d47c93
|
||||
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 && \
|
||||
|
@@ -9,17 +9,17 @@ FROM linuxkit/alpine:3683c9a66cd4da40bd7d6c7da599b2dcd738b559 AS build
|
||||
RUN apk add --no-cache go musl-dev git make
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||
|
||||
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
|
||||
ENV VIRTSOCK_COMMIT=f1e32d3189e0dbb81c0e752a4e214617487eb41f
|
||||
RUN mkdir -p $GOPATH/src/github.com/linuxkit && \
|
||||
cd $GOPATH/src/github.com/linuxkit && \
|
||||
git clone https://github.com/linuxkit/virtsock.git
|
||||
WORKDIR $GOPATH/src/github.com/linuxkit/virtsock
|
||||
RUN git checkout $VIRTSOCK_COMMIT
|
||||
# Don't use go-compile.sh quite yet as the virtsock package is not yet lint free
|
||||
RUN make build/virtsock_stress.linux && \
|
||||
cp -a build/virtsock_stress.linux /virtsock_stress
|
||||
RUN make bin/sock_stress.linux && \
|
||||
cp -a bin/sock_stress.linux /sock_stress
|
||||
|
||||
FROM scratch
|
||||
COPY --from=mirror /out/ /
|
||||
COPY --from=build virtsock_stress usr/bin/virtsock_stress
|
||||
CMD ["/sbin/tini", "/usr/bin/virtsock_stress", "-s", "-v", "1"]
|
||||
COPY --from=build sock_stress usr/bin/sock_stress
|
||||
CMD ["/sbin/tini", "/usr/bin/sock_stress", "-s", "-v", "1"]
|
||||
|
Reference in New Issue
Block a user