From 30f337c5193b52d6aa0fda8727da40071db505fe Mon Sep 17 00:00:00 2001 From: Sasikantha Babu Date: Thu, 15 Oct 2020 05:20:42 -0400 Subject: [PATCH] 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 --- dock-run.sh | 2 +- Dockerfile => docker/Dockerfile | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Dockerfile => docker/Dockerfile (100%) diff --git a/dock-run.sh b/dock-run.sh index 5dc375424..686a1c99b 100755 --- a/dock-run.sh +++ b/dock-run.sh @@ -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 $@ diff --git a/Dockerfile b/docker/Dockerfile similarity index 100% rename from Dockerfile rename to docker/Dockerfile