Sync async_nats work with master

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis
2017-08-18 17:44:00 +01:00
parent edb71d8b09
commit bd146f526c
79 changed files with 24713 additions and 1762 deletions

View File

@ -1,11 +1,7 @@
#!/bin/sh
echo Building functions/gateway:build
docker build --no-cache --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
-t functions/gateway:build . -f Dockerfile.build && \
docker create --name gateway_extract functions/gateway:build && \
docker cp gateway_extract:/go/src/github.com/alexellis/faas/gateway/app ./gateway && \
docker rm -f gateway_extract && \
echo Building functions/gateway:latest && \
docker build --no-cache -t functions/gateway:latest-dev . && \
rm ./gateway
export TAG="latest-dev"
echo Building functions/gateway:$TAG
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
-t functions/gateway:$TAG .