confd-env/Dockerfile

19 lines
458 B
Docker
Raw Normal View History

2020-07-26 08:25:50 +00:00
FROM golang:1.13.14-alpine AS builder
RUN apk --no-cache add \
git \
make
RUN mkdir -p $GOPATH/src/github.com/kelseyhightower
RUN git clone https://github.com/kelseyhightower/confd.git $GOPATH/src/github.com/kelseyhightower/confd
WORKDIR $GOPATH/src/github.com/kelseyhightower/confd
RUN git checkout v0.16.0
RUN make
2018-11-27 07:30:51 +00:00
FROM thallian/alpine-s6:latest
2016-06-28 12:19:59 +00:00
2020-07-26 08:25:50 +00:00
COPY --from=builder /go/src/github.com/kelseyhightower/confd/bin/confd /bin/confd
2016-10-11 10:18:46 +00:00
ADD /rootfs /