mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
Move from functions ns to openfaas for Hub
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
parent
500b883084
commit
f4aab9197d
@ -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
|
||||
```
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user