alpine 3.7 is eol'ed migrate (#2743)

Alpine 3.7 is EOL. This PR migrates to Alpine 3.9
This commit is contained in:
Harshavardhana
2019-04-04 12:07:53 -07:00
committed by kannappanr
parent 7805774cf3
commit 66677d7c21
2 changed files with 5 additions and 7 deletions
+4 -6
View File
@@ -1,19 +1,17 @@
FROM golang:1.11.4-alpine3.7
FROM golang:1.12-alpine
LABEL maintainer="Minio Inc <dev@minio.io>"
ENV GOPATH /go
ENV CGO_ENABLED 0
WORKDIR /go/src/github.com/minio/
ENV GO111MODULE on
RUN \
apk add --no-cache git && \
go get -v -d github.com/minio/mc && \
cd /go/src/github.com/minio/mc && \
git clone https://github.com/minio/mc && cd mc && \
go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)"
FROM alpine:3.7
FROM alpine:3.9
COPY --from=0 /go/bin/mc /usr/bin/mc
+1 -1
View File
@@ -1,4 +1,4 @@
FROM alpine:3.7
FROM alpine:3.9
MAINTAINER Minio Inc <dev@minio.io>