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 8b8ee1b commit 2eaf85cCopy full SHA for 2eaf85c
Dockerfile
@@ -1,4 +1,10 @@
1
-FROM golang:1.10.0 AS builder
+ARG ARCH=amd64
2
+
3
+FROM golang:1.10.0 AS builder-amd64
4
5
+FROM arm32v6/golang:1.10.0 AS builder-arm32v6
6
7
+FROM builder-${ARCH} AS builder
8
9
WORKDIR ${GOPATH}/src/github.com/mcuadros/ofelia
10
COPY . ${GOPATH}/src/github.com/mcuadros/ofelia
@@ -16,4 +22,4 @@ COPY --from=builder /go/bin/ofelia /usr/bin/ofelia
16
22
VOLUME /etc/ofelia/
17
23
ENTRYPOINT ["/usr/bin/ofelia"]
18
24
19
-CMD ["daemon", "--config", "/etc/ofelia/config.ini"]
25
+CMD ["daemon", "--config", "/etc/ofelia/config.ini"]
0 commit comments