mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-11-04 09:25:58 +00:00 
			
		
		
		
	pkg: update vpnkit-forwarder
Update to latest commit and don't include the binaries that are now in vpnkit-expose-port. Signed-off-by: Magnus Skjegstad <magnus@skjegstad.com>
This commit is contained in:
		@@ -2,15 +2,14 @@ FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
RUN apk add --no-cache go musl-dev git build-base
 | 
					RUN apk add --no-cache go musl-dev git build-base
 | 
				
			||||||
ENV GOPATH=/go PATH=$PATH:/go/bin 
 | 
					ENV GOPATH=/go PATH=$PATH:/go/bin 
 | 
				
			||||||
ENV COMMIT=2d6d82167cf81c665c05d1425a79adfbc1a71177
 | 
					ENV COMMIT=db7b7b0f8147f29360d69dc81af9e2877647f0de
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN git clone https://github.com/moby/vpnkit.git /go/src/github.com/moby/vpnkit && \
 | 
					RUN git clone https://github.com/moby/vpnkit.git /go/src/github.com/moby/vpnkit && \
 | 
				
			||||||
    cd /go/src/github.com/moby/vpnkit && \
 | 
					    cd /go/src/github.com/moby/vpnkit && \
 | 
				
			||||||
    git checkout $COMMIT && \
 | 
					    git checkout $COMMIT && \
 | 
				
			||||||
    cd go && \
 | 
					    cd go && \
 | 
				
			||||||
    make all
 | 
					    make build/vpnkit-forwarder.linux
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM scratch
 | 
					FROM scratch
 | 
				
			||||||
COPY --from=mirror /go/src/github.com/moby/vpnkit/go/build/vpnkit-forwarder.linux /vpnkit-forwarder
 | 
					COPY --from=mirror /go/src/github.com/moby/vpnkit/go/build/vpnkit-forwarder.linux /vpnkit-forwarder
 | 
				
			||||||
COPY --from=mirror /go/src/github.com/moby/vpnkit/go/build/vpnkit-expose-port.linux /vpnkit-expose-port
 | 
					 | 
				
			||||||
CMD ["/vpnkit-forwarder"]
 | 
					CMD ["/vpnkit-forwarder"]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,7 @@
 | 
				
			|||||||
### vpnkit-forwarder
 | 
					### vpnkit-forwarder
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This package provides `vpnkit-forwarder` and `vpnkit-expose-port` from [vpnkit](http://github.com/moby/vpnkit.git).
 | 
					This package provides `vpnkit-forwarder` from [vpnkit](http://github.com/moby/vpnkit.git).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
`vpnkit-forwarder` is a forwarding daemon used by Docker for Desktop to forward ports from Docker containers to the host via VSOCK.
 | 
					`vpnkit-forwarder` is a forwarding daemon used by Docker for Desktop to forward ports from Docker containers to the host via VSOCK.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
`vpnkit-expose-port` is a userland proxy that opens ports by demand.
 | 
					To coordinate with `vpnkit` it requires access to the 9P port configuration mount point.
 | 
				
			||||||
 | 
					 | 
				
			||||||
To coordinate with `vpnkit` both tools require access to the 9P port configuration mount point.
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user