Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zyclonite authored Nov 3, 2022
1 parent 6cf0e60 commit 6c96df6
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 @@ -2,7 +2,7 @@ FROM golang:1.19-alpine3.16

WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter
RUN apk add --no-cache --purge --clean-protected -u git \
&& git clone --branch v0.10.0 https://github.com/nats-io/prometheus-nats-exporter.git . \
&& git clone --branch v0.10.1 https://github.com/nats-io/prometheus-nats-exporter.git . \
&& CGO_ENABLED=0 go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w"

FROM scratch
Expand Down

0 comments on commit 6c96df6

Please sign in to comment.