From f2baa956b57f8ddefacf0dbf3689cf41ade4cfba Mon Sep 17 00:00:00 2001
From: Alex Ellis <alexellis2@gmail.com>
Date: Sat, 30 Dec 2017 09:34:18 +0000
Subject: [PATCH] Add re-direct for ARMHF function store

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
---
 gateway/Dockerfile.armhf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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"]
 
-- 
GitLab