We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5424b4e commit 5352d6fCopy full SHA for 5352d6f
Dockerfile.arm
@@ -0,0 +1,20 @@
1
+FROM arm32v6/golang:1.9-alpine3.6 AS development
2
+
3
+ENV PROJECT_PATH=/go/src/github.com/brocaar/lora-gateway-bridge
4
+ENV PATH=$PATH:$PROJECT_PATH/build
5
6
+RUN apk add --no-cache ca-certificates make git bash
7
8
+RUN mkdir -p $PROJECT_PATH
9
+COPY . $PROJECT_PATH
10
+WORKDIR $PROJECT_PATH
11
12
+RUN make requirements
13
+RUN make GOARCH=arm
14
15
+FROM alpine:latest AS production
16
17
+WORKDIR /root/
18
+RUN apk --no-cache add ca-certificates
19
+COPY --from=development /go/src/github.com/brocaar/lora-gateway-bridge/build/lora-gateway-bridge .
20
+ENTRYPOINT ["./lora-gateway-bridge"]
0 commit comments