Skip to content

Commit

Permalink
Merge pull request #31 from ajardan/master
Browse files Browse the repository at this point in the history
Statically build binary to fix libpthread issue
  • Loading branch information
discordianfish committed Dec 27, 2017
2 parents 2d81d6e + 374f991 commit 2142193
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM golang:1.9
LABEL maintainer="@discordianfish"
WORKDIR /go/src/github.com/discordianfish/nginx_exporter
ENV GOOS=linux CGO_ENABLED=0
COPY . .
RUN go get -d && go build

Expand Down

0 comments on commit 2142193

Please sign in to comment.