Skip to content

Commit

Permalink
Alpine+go combination doesn't resolve DNS correctly under docker comp…
Browse files Browse the repository at this point in the history
…ose environment
  • Loading branch information
lubikx committed May 30, 2023
1 parent 02f3e6a commit 89e01e0
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 @@ -32,7 +32,7 @@ RUN cat /go/src/github.com/kerberos-io/agent/machinery/version

RUN cd /go/src/github.com/kerberos-io/agent/machinery && \
go mod download && \
go build -tags timetzdata --ldflags '-s -w -extldflags "-static -latomic"' main.go && \
go build -tags timetzdata,netgo --ldflags '-s -w -extldflags "-static -latomic"' main.go && \
mkdir -p /agent && \
mv main /agent && \
mv version /agent && \
Expand Down

0 comments on commit 89e01e0

Please sign in to comment.