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:
3
build.sh
3
build.sh
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user