attempting to fix https://github.com/AnalogJ/scrutiny/issues/281 by removing static flag in artifact build

This commit is contained in:
Jason Kulatunga
2022-06-09 19:34:16 -07:00
parent cb47dd7185
commit 892e9685f3
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ WORKDIR /go/src/github.com/analogj/scrutiny
COPY . /go/src/github.com/analogj/scrutiny
RUN go mod vendor && \
go build -ldflags '-w -extldflags "-static"' -o scrutiny webapp/backend/cmd/scrutiny/scrutiny.go
go -o scrutiny webapp/backend/cmd/scrutiny/scrutiny.go
########
FROM debian:bullseye-slim as runtime