From ded8cca49b6879c9a17f223c8842f0127619a1cc Mon Sep 17 00:00:00 2001 From: Taras Postument Date: Mon, 11 May 2020 14:53:32 +0300 Subject: [PATCH] pin alpine version --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b96ef3e3..c1b30996 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,13 @@ FROM golang:1.13.10-alpine AS builder +RUN apk --no-cache add gcc musl-dev + WORKDIR ${GOPATH}/src/github.com/mcuadros/ofelia COPY . ${GOPATH}/src/github.com/mcuadros/ofelia -RUN apk --no-cache add gcc musl-dev RUN go build -o /go/bin/ofelia . -FROM alpine:latest +FROM alpine:3.11 # this label is required to identify container with ofelia running LABEL ofelia.service=true