@@ -393,17 +393,17 @@ spec:
393393 BUILDAH_ARGS=()
394394 use_domain_proxy=false
395395
396- cat >> /app/capture-netstat.sh << EOF
397- #!/bin/bash
398- while true; do
399- date >> /app/netstat-output.txt
400- netstat -n >> /app/netstat-output.txt
401- echo "--------------------------------------" >> /app/netstat-output.txt
402- done
403- EOF
404-
405- chmod +x /app/capture-netstat.sh
406- nohup /app/capture-netstat.sh &
396+ # cat >> /app/capture-netstat.sh << EOF
397+ # #!/bin/bash
398+ # while true; do
399+ # date >> /app/netstat-output.txt
400+ # netstat -n >> /app/netstat-output.txt
401+ # echo "--------------------------------------" >> /app/netstat-output.txt
402+ # done
403+ # EOF
404+
405+ # chmod +x /app/capture-netstat.sh
406+ # nohup /app/capture-netstat.sh &
407407
408408 if [ "${HERMETIC}" == "true" ]; then
409409 BUILDAH_ARGS+=("--pull=never")
@@ -539,7 +539,8 @@ spec:
539539 cat /app/build-script.sh
540540 chmod +x /app/build-script.sh
541541
542- unshare -Uf $UNSHARE_ARGS --keep-caps -r --map-users 1,1,65536 --map-groups 1,1,65536 -w ${SOURCE_CODE_DIR}/$CONTEXT -- /app/build-script.sh
542+ /app/build-script.sh
543+ # unshare -Uf $UNSHARE_ARGS --keep-caps -r --map-users 1,1,65536 --map-groups 1,1,65536 -w ${SOURCE_CODE_DIR}/$CONTEXT -- /app/build-script.sh
543544
544545 set +e
545546 kill $server_pid
@@ -555,7 +556,7 @@ spec:
555556 -f "$dockerfile_copy" -t "$IMAGE" .
556557 fi
557558
558- cat /app/netstat-output.txt
559+ # cat /app/netstat-output.txt
559560
560561 container=$(buildah from --pull-never "$IMAGE")
561562 buildah mount $container | tee /shared/container_path
0 commit comments