2022-07-12 18:36:19 +02:00
|
|
|
FROM docker.io/golang:1.13.14-alpine AS builder
|
2020-07-26 10:25:50 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2023-12-14 10:03:55 +01:00
|
|
|
FROM docker.io/thallian/alpine-s6:3.19-3.1.6.2
|
2016-06-28 14:19:59 +02:00
|
|
|
|
2020-07-26 10:25:50 +02:00
|
|
|
COPY --from=builder /go/src/github.com/kelseyhightower/confd/bin/confd /bin/confd
|
|
|
|
|
2016-10-11 12:18:46 +02:00
|
|
|
ADD /rootfs /
|