mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 09:16:48 +00:00
Switch to armv6 and multi-arch for runtime image
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
parent
4bf297a33f
commit
c81418e5a8
@ -13,9 +13,9 @@ COPY types types
|
||||
COPY plugin plugin
|
||||
COPY queue queue
|
||||
|
||||
RUN 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 .
|
||||
|
||||
FROM armhf/alpine:latest
|
||||
FROM alpine:3.6
|
||||
WORKDIR /root/
|
||||
|
||||
EXPOSE 8080
|
||||
|
Loading…
x
Reference in New Issue
Block a user