Update path for build

Path moved from /root/ to /usr/bin/ for container which is
pushed to the remote registry

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis
2018-08-09 17:29:47 +01:00
parent 7b4e7c1042
commit 87193ed211

View File

@@ -10,5 +10,6 @@ echo Building openfaas/faas-cli:$eTAG
docker build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy -t openfaas/faas-cli:$eTAG . && \
docker create --name faas-cli openfaas/faas-cli:$eTAG && \
docker cp faas-cli:/root/faas-cli . && \
docker cp faas-cli:/usr/bin/faas-cli . && \
docker rm -f faas-cli