Skip to content

Commit

Permalink
added go get main
Browse files Browse the repository at this point in the history
  • Loading branch information
leech001 committed Jun 15, 2022
1 parent 60d5e89 commit 65413bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM golang:latest AS builder
WORKDIR /build
COPY app .
RUN go get main
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o monitor


Expand Down

0 comments on commit 65413bc

Please sign in to comment.