2024-12-12 08:57:27 +00:00
|
|
|
FROM docker.io/golang:1.22-alpine3.21 AS builder
|
2020-07-26 08:25:50 +00: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
|
2023-12-14 09:24:15 +00:00
|
|
|
RUN git checkout 919444eb6cf721d198b2bb18581d0f0b3734d107
|
2020-07-26 08:25:50 +00:00
|
|
|
RUN make
|
|
|
|
|
2024-12-12 08:57:27 +00:00
|
|
|
FROM docker.io/thallian/alpine-s6:3.21-3.2.0.2
|
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 /
|