mirror of
https://github.com/openfaas/faas.git
synced 2025-06-16 21:06:54 +00:00
Add re-direct for ARMHF function store
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
parent
979e44bf8c
commit
f2baa956b5
@ -8,10 +8,10 @@ COPY handlers handlers
|
|||||||
COPY metrics metrics
|
COPY metrics metrics
|
||||||
COPY requests requests
|
COPY requests requests
|
||||||
COPY tests tests
|
COPY tests tests
|
||||||
COPY server.go .
|
|
||||||
COPY types types
|
COPY types types
|
||||||
COPY plugin plugin
|
COPY plugin plugin
|
||||||
COPY queue queue
|
COPY queue queue
|
||||||
|
COPY server.go .
|
||||||
|
|
||||||
RUN GOARM=6 CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gateway .
|
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 --from=0 /go/src/github.com/openfaas/faas/gateway/gateway .
|
||||||
|
|
||||||
COPY assets assets
|
COPY assets assets
|
||||||
|
RUN sed -ie s/store.json/store-armhf.json/g /root/assets/script/funcstore.js
|
||||||
CMD ["./gateway"]
|
CMD ["./gateway"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user