This repository was archived by the owner on Oct 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ ARG CROSS="false"
2828# IMPORTANT: When updating this please note that stdlib archive/tar pkg is vendored
2929ARG GO_VERSION=1.12.17
3030ARG DEBIAN_FRONTEND=noninteractive
31+ ARG VPNKIT_DIGEST=e508a17cfacc8fd39261d5b4e397df2b953690da577e2c987a47630cd0c42f8e
3132
3233FROM golang:${GO_VERSION}-stretch AS base
3334ARG APT_MIRROR
@@ -235,6 +236,8 @@ COPY hack/dockerfile/install/$INSTALL_BINARY_NAME.installer ./
235236RUN PREFIX=/build/ ./install.sh $INSTALL_BINARY_NAME
236237COPY ./contrib/dockerd-rootless.sh /build
237238
239+ FROM djs55/vpnkit@sha256:${VPNKIT_DIGEST} AS vpnkit
240+
238241# TODO: Some of this is only really needed for testing, it would be nice to split this up
239242FROM runtime-dev AS dev
240243ARG DEBIAN_FRONTEND
@@ -294,7 +297,7 @@ COPY --from=dockercli /build/ /usr/local/cli
294297COPY --from=registry /build/registry* /usr/local/bin/
295298COPY --from=criu /build/ /usr/local/
296299COPY --from=rootlesskit /build/ /usr/local/bin/
297- COPY --from=djs55/ vpnkit@sha256:e508a17cfacc8fd39261d5b4e397df2b953690da577e2c987a47630cd0c42f8e /vpnkit /usr/local/bin/vpnkit.x86_64
300+ COPY --from=vpnkit /vpnkit /usr/local/bin/vpnkit.x86_64
298301
299302ENV PATH=/usr/local/cli:$PATH
300303ENV DOCKER_BUILDTAGS apparmor seccomp selinux
You can’t perform that action at this time.
0 commit comments