Skip to content

Commit

Permalink
Merge pull request #9 from chai2010/master
Browse files Browse the repository at this point in the history
upgrade alpine dockerfile
  • Loading branch information
chai2010 authored Jun 5, 2018
2 parents be6df62 + 4246964 commit cdbacaf
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions Dockerfile.build.alpine
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

0 comments on commit cdbacaf

Please sign in to comment.