build confd myself

This commit is contained in:
Sebastian Hugentobler 2020-07-26 10:25:50 +02:00
parent 61f66c134a
commit 9949f6b035
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,18 @@
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
FROM thallian/alpine-s6:latest FROM thallian/alpine-s6:latest
COPY --from=builder /go/src/github.com/kelseyhightower/confd/bin/confd /bin/confd
ADD /rootfs / ADD /rootfs /

Binary file not shown.