build confd myself
This commit is contained in:
parent
61f66c134a
commit
9949f6b035
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
|
FROM thallian/alpine-s6:latest
|
||||||
|
|
||||||
|
COPY --from=builder /go/src/github.com/kelseyhightower/confd/bin/confd /bin/confd
|
||||||
|
|
||||||
ADD /rootfs /
|
ADD /rootfs /
|
||||||
|
BIN
rootfs/bin/confd
BIN
rootfs/bin/confd
Binary file not shown.
Loading…
Reference in New Issue
Block a user