From 106e2652009e0371f416e33cc1cb7e98ec894f01 Mon Sep 17 00:00:00 2001 From: Lucas Salibian Date: Mon, 9 Mar 2020 13:32:41 -0700 Subject: [PATCH] Fix builds and update alpine image version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5ed6884d..c2470899 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM golang:alpine as builder +FROM golang:1.14-alpine as builder RUN apk --no-cache add curl git make perl RUN curl -s https://glide.sh/get | sh COPY . /go/src/github.com/dcu/mongodb_exporter RUN cd /go/src/github.com/dcu/mongodb_exporter && make release -FROM alpine:3.4 +FROM alpine:3.11 MAINTAINER David Cuadrado EXPOSE 9001