File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
- docker run --rm -it -u $( id -u) :$( id -g) -v $( pwd) :$( pwd) -e STATIC_LINKING=ON -e STATIC_LIBC=ON -e RUN_TESTS=0 bpftrace-builder-alpine " $( pwd) /build-debug" Debug " $@ "
3
+ docker run --network host -- rm -it -u $( id -u) :$( id -g) -v $( pwd) :$( pwd) -e STATIC_LINKING=ON -e STATIC_LIBC=ON -e RUN_TESTS=0 bpftrace-builder-alpine " $( pwd) /build-debug" Debug " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
pushd docker
4
- docker build -t bpftrace-builder-alpine -f Dockerfile.alpine .
4
+ docker build --network host - t bpftrace-builder-alpine -f Dockerfile.alpine .
5
5
popd
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
- docker run --rm -it -u $( id -u) :$( id -g) -v $( pwd) :$( pwd) -e STATIC_LINKING=ON -e STATIC_LIBC=ON -e RUN_TESTS=0 bpftrace-builder-alpine " $( pwd) /build-release" Release " $@ "
3
+ docker run --network host -- rm -it -u $( id -u) :$( id -g) -v $( pwd) :$( pwd) -e STATIC_LINKING=ON -e STATIC_LIBC=ON -e RUN_TESTS=0 bpftrace-builder-alpine " $( pwd) /build-release" Release " $@ "
You can’t perform that action at this time.
0 commit comments