diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 29264da..c6cef63 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -6,7 +6,7 @@ before: - go generate ./... builds: - env: - - CGO_ENABLED=0 + - CGO_ENABLED=1 binary: assertoor-{{.Version}} goos: - linux diff --git a/Dockerfile b/Dockerfile index 3be8b34..956ef83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /src COPY go.sum go.mod ./ RUN go mod download COPY . . -RUN CGO_ENABLED=0 go build -o /bin/app . +RUN CGO_ENABLED=1 go build -o /bin/app . FROM ubuntu:latest RUN apt-get update && apt-get -y upgrade && apt-get install -y --no-install-recommends \