parent
dafd08c0ca
commit
fcb038d352
|
@ -1,9 +1,6 @@
|
||||||
FROM golang:1.11.0 as builder
|
FROM golang:1.13.8 as builder
|
||||||
ENV DEP_VERSION 0.5.0
|
|
||||||
RUN curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/local/bin/dep
|
|
||||||
WORKDIR /go/src/github.com/influxdata/telegraf
|
WORKDIR /go/src/github.com/influxdata/telegraf
|
||||||
COPY Gopkg.toml Gopkg.lock ./
|
|
||||||
RUN dep ensure -vendor-only
|
|
||||||
COPY . /go/src/github.com/influxdata/telegraf
|
COPY . /go/src/github.com/influxdata/telegraf
|
||||||
RUN CGO_ENABLED=0 make go-install
|
RUN CGO_ENABLED=0 make go-install
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
FROM golang:1.11.0 as builder
|
FROM golang:1.13.8 as builder
|
||||||
ENV DEP_VERSION 0.5.0
|
|
||||||
RUN curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/local/bin/dep
|
|
||||||
WORKDIR /go/src/github.com/influxdata/telegraf
|
WORKDIR /go/src/github.com/influxdata/telegraf
|
||||||
COPY Gopkg.toml Gopkg.lock ./
|
|
||||||
RUN dep ensure -vendor-only
|
|
||||||
COPY . /go/src/github.com/influxdata/telegraf
|
COPY . /go/src/github.com/influxdata/telegraf
|
||||||
RUN make go-install
|
RUN make go-install
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue