Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

[7.x] docker/go/nethttp: go build -mod=mod (#1061) #1067

Merged
merged 1 commit into from
Feb 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/go/nethttp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN git clone https://github.com/${GO_AGENT_REPO}.git /src/apm-agent-go
RUN (cd /src/apm-agent-go \
&& git fetch -q origin '+refs/pull/*:refs/remotes/origin/pr/*' \
&& git checkout ${GO_AGENT_BRANCH})
RUN CGO_ENABLED=0 go build
RUN CGO_ENABLED=0 go build -mod=mod

FROM alpine:latest
RUN apk add --update curl && rm -rf /var/cache/apk/*
Expand Down