update docker file

This commit is contained in:
Matthew R. Kasun 2022-12-21 17:03:38 -05:00
parent 070f9fe81b
commit 8ce2eedd25

View file

@ -7,7 +7,7 @@ COPY . .
ENV GO111MODULE=auto
RUN apk add git
RUN GOOS=linux CGO_ENABLED=1 go build -ldflags="-s -X 'main.version=${version}'" -tags ${tags} .
RUN GOOS=linux CGO_ENABLED=1 go build -ldflags="-s -X 'main.version=${version}'" ${tags} .
# RUN go build -tags=ee . -o netmaker main.go
FROM alpine:3.16.2