From 1338e4c1363978676c7135b6628a36c80583bd1f Mon Sep 17 00:00:00 2001 From: Brian Cook Date: Wed, 16 Oct 2024 08:49:16 -0400 Subject: [PATCH] regenerate tasks --- task/buildah-oci-ta/0.2/buildah-oci-ta.yaml | 2 -- task/buildah-remote-oci-ta/0.2/buildah-remote-oci-ta.yaml | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/task/buildah-oci-ta/0.2/buildah-oci-ta.yaml b/task/buildah-oci-ta/0.2/buildah-oci-ta.yaml index 839c7e055..3087f0e5a 100644 --- a/task/buildah-oci-ta/0.2/buildah-oci-ta.yaml +++ b/task/buildah-oci-ta/0.2/buildah-oci-ta.yaml @@ -467,8 +467,6 @@ spec: -f "$dockerfile_path" -t "$IMAGE" . ) buildah_cmd=$(printf "%q " "${buildah_cmd_array[@]}") - - # enable loopback in the network restrcited environment. This is needed for hermetic bazel builds. command="ip link set lo up && $buildah_cmd" unshare -Uf "${UNSHARE_ARGS[@]}" --keep-caps -r --map-users 1,1,65536 --map-groups 1,1,65536 -w "${SOURCE_CODE_DIR}/$CONTEXT" -- sh -c "$command" diff --git a/task/buildah-remote-oci-ta/0.2/buildah-remote-oci-ta.yaml b/task/buildah-remote-oci-ta/0.2/buildah-remote-oci-ta.yaml index 52628bc76..bb703fa1d 100644 --- a/task/buildah-remote-oci-ta/0.2/buildah-remote-oci-ta.yaml +++ b/task/buildah-remote-oci-ta/0.2/buildah-remote-oci-ta.yaml @@ -501,6 +501,8 @@ spec: -f "$dockerfile_path" -t "$IMAGE" . ) buildah_cmd=$(printf "%q " "${buildah_cmd_array[@]}") + + # enable loopback in the network restrcited environment. This is needed for hermetic bazel builds. command="ip link set lo up && $buildah_cmd" unshare -Uf "${UNSHARE_ARGS[@]}" --keep-caps -r --map-users 1,1,65536 --map-groups 1,1,65536 -w "${SOURCE_CODE_DIR}/$CONTEXT" -- sh -c "$command"