Sebastian Hugentobler
7d5e6fc711
Some checks failed
Build Multiarch Container Image / call-reusable-workflow (push) Failing after 0s
19 lines
518 B
Docker
19 lines
518 B
Docker
FROM docker.io/golang:1.22-alpine3.20 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.20-3.1.6.2
|
|
|
|
COPY --from=builder /go/src/github.com/kelseyhightower/confd/bin/confd /bin/confd
|
|
|
|
ADD /rootfs /
|