Skip to content

Commit

Permalink
Switch to Go 1.11
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
  • Loading branch information
simonpasquier committed Apr 15, 2019
1 parent f248b58 commit 9ccf2a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .promu.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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 9ccf2a7

Please sign in to comment.