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:
Sasikantha Babu 2020-10-15 05:20:42 -04:00 committed by John Crispin
parent 4016a3f116
commit 30f337c519
2 changed files with 1 additions and 1 deletions

View File

@ -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 $@