diff --git a/gateway/Dockerfile.armhf b/gateway/Dockerfile.armhf index be074be1..04863220 100644 --- a/gateway/Dockerfile.armhf +++ b/gateway/Dockerfile.armhf @@ -8,10 +8,10 @@ COPY handlers handlers COPY metrics metrics COPY requests requests COPY tests tests -COPY server.go . COPY types types COPY plugin plugin COPY queue queue +COPY server.go . RUN GOARM=6 CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gateway . @@ -25,6 +25,6 @@ ENV https_proxy "" COPY --from=0 /go/src/github.com/openfaas/faas/gateway/gateway . COPY assets assets - +RUN sed -ie s/store.json/store-armhf.json/g /root/assets/script/funcstore.js CMD ["./gateway"]