Skip to content

Commit

Permalink
Merge pull request #22 from simonpasquier/switch-go-1.11
Browse files Browse the repository at this point in the history
Switch to Go 1.11
  • Loading branch information
openshift-merge-robot committed Apr 16, 2019
2 parents f248b58 + 9ccf2a7 commit 712de7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .promu.yml
Expand Up @@ -5,7 +5,7 @@ repository:
build:
binaries:
- name: node_exporter
flags: -a -tags 'netgo static_build'
flags: -a -mod=vendor -tags 'netgo static_build'
ldflags: |
-s
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.10 AS builder
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.11 AS builder

WORKDIR /go/src/github.com/prometheus/node_exporter
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.rhel
@@ -1,4 +1,4 @@
FROM registry.svc.ci.openshift.org/ocp/builder:golang-1.10 AS builder
FROM registry.svc.ci.openshift.org/ocp/builder:golang-1.11 AS builder

WORKDIR /go/src/github.com/prometheus/node_exporter
COPY . .
Expand Down

0 comments on commit 712de7f

Please sign in to comment.