Skip to content

Commit

Permalink
Merge pull request ochinchina#304 from andrewhsu/goproxy
Browse files Browse the repository at this point in the history
use default GOPROXY and GOSUMDB for go build
  • Loading branch information
ochinchina authored Dec 6, 2021
2 parents 3d134bb + edbaabf commit e6f2d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apk add --no-cache --update git gcc rust
COPY . /src
WORKDIR /src

RUN GOPROXY=direct GOSUMDB=off CGO_ENABLED=0 go build -a -ldflags "-linkmode external -extldflags -static" -o /usr/local/bin/supervisord github.com/ochinchina/supervisord
RUN CGO_ENABLED=0 go build -a -ldflags "-linkmode external -extldflags -static" -o /usr/local/bin/supervisord github.com/ochinchina/supervisord

FROM scratch

Expand Down

0 comments on commit e6f2d25

Please sign in to comment.