build runc with runc_nodmz
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
0752ca0e5b
commit
b91f320c77
2 changed files with 2 additions and 2 deletions
|
@ -306,7 +306,7 @@ RUN --mount=from=runc-src,src=/usr/src/runc,rw \
|
|||
--mount=type=cache,target=/root/.cache/go-build,id=runc-build-$TARGETPLATFORM <<EOT
|
||||
set -e
|
||||
xx-go --wrap
|
||||
CGO_ENABLED=1 make "$([ "$DOCKER_STATIC" = "1" ] && echo "static" || echo "runc")"
|
||||
CGO_ENABLED=1 make BUILDTAGS="secccomp runc_nodmz" "$([ "$DOCKER_STATIC" = "1" ] && echo "static" || echo "runc")"
|
||||
xx-verify $([ "$DOCKER_STATIC" = "1" ] && echo "--static") runc
|
||||
mkdir /build
|
||||
mv runc /build/
|
||||
|
|
|
@ -12,7 +12,7 @@ set -e
|
|||
: "${RUNC_VERSION:=v1.2.0-rc.1}"
|
||||
|
||||
install_runc() {
|
||||
RUNC_BUILDTAGS="${RUNC_BUILDTAGS:-"seccomp"}"
|
||||
RUNC_BUILDTAGS="${RUNC_BUILDTAGS:-"seccomp runc_nodmz"}"
|
||||
|
||||
echo "Install runc version $RUNC_VERSION (build tags: $RUNC_BUILDTAGS)"
|
||||
git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc"
|
||||
|
|
Loading…
Add table
Reference in a new issue