Skip to content

Commit

Permalink
add comment to explain whiy loopback adapter is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwcook authored Oct 12, 2024
1 parent 1ab07c2 commit 099f0d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions task/buildah-oci-ta/0.2/buildah-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ spec:
-f "$dockerfile_path" -t "$IMAGE" .
)
buildah_cmd=$(printf "%q " "${buildah_cmd_array[@]}")

Check failure on line 470 in task/buildah-oci-ta/0.2/buildah-oci-ta.yaml

View workflow job for this annotation

GitHub Actions / yamllint

470:1 [trailing-spaces] trailing spaces
# 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"
Expand Down

0 comments on commit 099f0d6

Please sign in to comment.