Skip to content

Commit

Permalink
use CGO_ENABLED=1
Browse files Browse the repository at this point in the history
Signed-off-by: Tesshu Flower <tflower@redhat.com>
  • Loading branch information
tesshuflower committed Jul 5, 2023
1 parent f5bdd2e commit 6b02591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /workspace
# We don't vendor modules. Enforce that behavior
ENV GOFLAGS=-mod=readonly
ENV GO111MODULE=on
ENV CGO_ENABLED=0
ENV CGO_ENABLED=1
ARG TARGETOS
ARG TARGETARCH
ENV GOOS=${TARGETOS:-linux}
Expand Down Expand Up @@ -58,7 +58,7 @@ COPY /mover-restic/minio-go ./minio-go

WORKDIR /workspace/restic

RUN go run build.go
RUN go run build.go --enable-cgo


######################################################################
Expand Down

0 comments on commit 6b02591

Please sign in to comment.