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 13d3a39 commit 99f5833Copy full SHA for 99f5833
Dockerfile
@@ -11,7 +11,7 @@ WORKDIR $GOPATH/src/mypackage/myapp/
11
#get dependancies
12
RUN go get -d -v
13
#build the binary
14
-RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags="-w -s" -o /go/bin/alertmanager-discord
+RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags="-w -s" -o /go/bin/alertmanager-discord
15
16
17
# STEP 2 build a small image
@@ -26,4 +26,3 @@ ENV LISTEN_ADDRESS=0.0.0.0:9094
26
EXPOSE 9094
27
USER appuser
28
ENTRYPOINT ["/go/bin/alertmanager-discord"]
29
-
0 commit comments