confd-env/Containerfile
Sebastian Hugentobler be8fb4e6ca
Some checks failed
Build Multiarch Container Image / call-reusable-workflow (push) Failing after 1m1s
push to alpine 3.21
2024-12-12 09:57:27 +01:00

19 lines
518 B
Docker

FROM docker.io/golang:1.22-alpine3.21 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 919444eb6cf721d198b2bb18581d0f0b3734d107
RUN make
FROM docker.io/thallian/alpine-s6:3.21-3.2.0.2
COPY --from=builder /go/src/github.com/kelseyhightower/confd/bin/confd /bin/confd
ADD /rootfs /