Skip to content

Commit

Permalink
alpine 3.7 is eol'ed migrate (#2743)
Browse files Browse the repository at this point in the history
Alpine 3.7 is EOL. This PR migrates to Alpine 3.9
  • Loading branch information
harshavardhana authored and kannappanr committed Apr 4, 2019
1 parent 7805774 commit 66677d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
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

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.release
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]>

Expand Down

0 comments on commit 66677d7

Please sign in to comment.