Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
Jess Frazelle
2019-09-16 14:00:18 -07:00
parent e484e6662f
commit aaf7e424aa
7 changed files with 26 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:latest as builder
FROM golang:1.12 as builder
MAINTAINER Jessica Frazelle <jess@linux.com>
ENV PATH /go/bin:/usr/local/go/bin:$PATH
@@ -29,9 +29,9 @@ RUN apt-get update && apt-get install -y \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV CONSUL_VERSION v1.6.0-beta2
ENV CONSUL_VERSION v1.6.1
RUN go get github.com/hashicorp/consul
RUN go get github.com/hashicorp/consul || true
WORKDIR /go/src/github.com/hashicorp/consul