mirror of
https://github.com/openfaas/faas.git
synced 2025-06-29 02:03:24 +00:00
Add armhf support
This commit is contained in:
@ -1,7 +1,12 @@
|
||||
FROM alexellis2/go-armhf:1.7.4
|
||||
|
||||
RUN mkdir -p /go/src/app
|
||||
COPY main.go /go/src/app
|
||||
WORKDIR /go/src/app
|
||||
COPY main.go .
|
||||
COPY readconfig.go .
|
||||
COPY config_test.go .
|
||||
|
||||
WORKDIR /go/src/app
|
||||
RUN go get -d -v
|
||||
|
||||
RUN go test
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|
||||
|
Reference in New Issue
Block a user