pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/docker-playground/+/35607?usp=email )


Change subject: ttcn3-epdg: Run osmo-epdg as root
......................................................................

ttcn3-epdg: Run osmo-epdg as root

This will be needed since soon osmo-epdg will start creating tunnel
devices througth gtp_u_kmod, which requires CAP_NET_ADMIN, plus it will
need probably need to set up local IP addresses, which requires root.

Change-Id: I48eea0e8d7969cc0a3ad2ed08f696decf064c474
---
M ttcn3-epdg-test/jenkins.sh
1 file changed, 16 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground 
refs/changes/07/35607/1

diff --git a/ttcn3-epdg-test/jenkins.sh b/ttcn3-epdg-test/jenkins.sh
index df445fc..bee9e77 100755
--- a/ttcn3-epdg-test/jenkins.sh
+++ b/ttcn3-epdg-test/jenkins.sh
@@ -23,6 +23,9 @@
 docker run     --rm \
                $(docker_network_params $SUBNET 20) \
                --ulimit core=-1 \
+               --privileged --cap-add=NET_ADMIN --device 
/dev/net/tun:/dev/net/tun \
+               -u root \
+               -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
                -v $VOL_BASE_DIR/epdg:/data \
                --name ${BUILD_TAG}-epdg -d \
                $DOCKER_ARGS \

--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/35607?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I48eea0e8d7969cc0a3ad2ed08f696decf064c474
Gerrit-Change-Number: 35607
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to