-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alpine 3.7 is eol'ed migrate (#2743)
Alpine 3.7 is EOL. This PR migrates to Alpine 3.9
- Loading branch information
1 parent
7805774
commit 66677d7
Showing
2 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
FROM golang:1.11.4-alpine3.7 | ||
FROM golang:1.12-alpine | ||
|
||
LABEL maintainer="Minio Inc <[email protected]>" | ||
|
||
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.7 | ||
FROM alpine:3.9 | ||
|
||
MAINTAINER Minio Inc <[email protected]> | ||
|
||
|