From f4aab9197d09571bf2b9c3bd07f6af23147d4d20 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (VMware)" Date: Mon, 2 Jul 2018 12:45:53 +0100 Subject: [PATCH] Move from functions ns to openfaas for Hub Signed-off-by: Alex Ellis (VMware) --- contrib/HACK.md | 4 ++-- gateway/build.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/HACK.md b/contrib/HACK.md index e02594c4..f67dc75b 100644 --- a/contrib/HACK.md +++ b/contrib/HACK.md @@ -29,7 +29,7 @@ $ cd gateway/ $ ./build.sh ``` -This creates a Docker image with the name `functions/gateway:latest-dev`, but if you want to use something else then pass the tag as an argument to the `./build.sh` script. I.e. `./build.sh labels-pr`. +This creates a Docker image with the name `openfaas/gateway:latest-dev`, but if you want to use something else then pass the tag as an argument to the `./build.sh` script. I.e. `./build.sh labels-pr`. 3. Now edit the Docker image for the `gateway` service in your `docker-compose.yml` file. @@ -67,5 +67,5 @@ $ docker run --name func_gateway -e "functions_provider_url=http://faas-swarm:80 -v `pwd`/gateway/assets:/home/app/assets \ -v "/var/run/docker.sock:/var/run/docker.sock" \ -p 8080:8080 --network=func_functions \ - -d functions/gateway:latest-dev + -d openfaas/gateway:latest-dev ``` diff --git a/gateway/build.sh b/gateway/build.sh index f5b7293e..f5e93b1e 100755 --- a/gateway/build.sh +++ b/gateway/build.sh @@ -18,7 +18,7 @@ if [ "$1" ] ; then fi fi -echo Building functions/gateway:$eTAG +echo Building openfaas/gateway:$eTAG docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \ - -t functions/gateway:$eTAG . -f $dockerfile --no-cache + -t openfaas/gateway:$eTAG . -f $dockerfile --no-cache