forked from kelseyhightower/confd
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from chai2010/master
upgrade alpine dockerfile
- Loading branch information
Showing
1 changed file
with
4 additions
and
9 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,12 +1,7 @@ | ||
FROM alpine:3.4 | ||
FROM golang:1.10.2-alpine | ||
|
||
ENV GOPATH /go | ||
ENV GO15VENDOREXPERIMENT 1 | ||
|
||
RUN mkdir -p "$GOPATH/src/" "$GOPATH/bin" && chmod -R 777 "$GOPATH" && \ | ||
mkdir -p /go/src/github.com/kelseyhightower/confd | ||
|
||
RUN apk --update add go bash git && \ | ||
ln -s /go/src/github.com/kelseyhightower/confd /app | ||
RUN apk add --no-cache make git | ||
RUN mkdir -p /go/src/github.com/kelseyhightower/confd && \ | ||
ln -s /go/src/github.com/kelseyhightower/confd /app | ||
|
||
WORKDIR /app |