mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-16 17:01:37 +00:00
wlan-ap: changed docker PATH to docker to speed up compilation.
Otherwise docker build is sending around 12G-16GB to docker daemon. Since we are binding the wlan-ap code in the docker we do not have to send entire code to docker daemon. Signed-off-by: Sasikantha Babu <sbabu@benunets.com>
This commit is contained in:
parent
4016a3f116
commit
30f337c519
@ -4,6 +4,6 @@ tag=$(echo ${PWD} | tr / - | cut -b2- | tr A-Z a-z)
|
||||
groups=$(id -G | xargs -n1 echo -n " --group-add ")
|
||||
params="-v ${PWD}:${PWD} --rm -w ${PWD} -u"$(id -u):$(id -g)" $groups -v/etc/passwd:/etc/passwd -v/etc/group:/etc/group ${tag}"
|
||||
|
||||
docker build --tag=${tag} .
|
||||
docker build --tag=${tag} docker
|
||||
|
||||
docker run $params $@
|
||||
|
||||
Loading…
Reference in New Issue
Block a user