Skip to content

Commit

Permalink
Merge pull request #103 from nats-io/update-docker
Browse files Browse the repository at this point in the history
Update Docker container version
  • Loading branch information
wallyqs committed Sep 12, 2019
2 parents 21bd3c2 + 48b76da commit e46a9d9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/linux/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.12

# download the source
WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter
RUN git clone --branch v0.5.0 https://github.com/nats-io/prometheus-nats-exporter.git .
RUN git clone --branch v0.6.0 https://github.com/nats-io/prometheus-nats-exporter.git .

# build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w"
Expand Down
2 changes: 1 addition & 1 deletion docker/linux/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.12

# download the source
WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter
RUN git clone --branch v0.5.0 https://github.com/nats-io/prometheus-nats-exporter.git .
RUN git clone --branch v0.6.0 https://github.com/nats-io/prometheus-nats-exporter.git .

# build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w"
Expand Down
2 changes: 1 addition & 1 deletion docker/linux/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.12

# download the source
WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter
RUN git clone --branch v0.5.0 https://github.com/nats-io/prometheus-nats-exporter.git .
RUN git clone --branch v0.6.0 https://github.com/nats-io/prometheus-nats-exporter.git .

# build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w"
Expand Down
2 changes: 1 addition & 1 deletion docker/windows/amd64/nanoserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.12

# download the source
WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter
RUN git clone --branch v0.5.0 https://github.com/nats-io/prometheus-nats-exporter.git .
RUN git clone --branch v0.6.0 https://github.com/nats-io/prometheus-nats-exporter.git .

# build
RUN go build -v -a -tags netgo -installsuffix netgo
Expand Down
2 changes: 1 addition & 1 deletion docker/windows/amd64/windowsservercore/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.12

# download the source
WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter
RUN git clone --branch v0.5.0 https://github.com/nats-io/prometheus-nats-exporter.git .
RUN git clone --branch v0.6.0 https://github.com/nats-io/prometheus-nats-exporter.git .

# build
RUN go build -v -a -tags netgo -installsuffix netgo
Expand Down

0 comments on commit e46a9d9

Please sign in to comment.