Move from functions ns to openfaas for Hub

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (VMware) 2018-07-02 12:45:53 +01:00
parent 500b883084
commit f4aab9197d
2 changed files with 4 additions and 4 deletions

View File

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

View File

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