build confd myself
This commit is contained in:
parent
61f66c134a
commit
9949f6b035
2 changed files with 15 additions and 0 deletions
15
Dockerfile
15
Dockerfile
|
@ -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
|
||||
|
||||
COPY --from=builder /go/src/github.com/kelseyhightower/confd/bin/confd /bin/confd
|
||||
|
||||
ADD /rootfs /
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue