Use builtin TARGETARCH arg
All checks were successful
Build Docker images / docker (eumau/debian, , bookworm) (push) Successful in 24s
Build Docker images / docker (eumau/debian, , bullseye) (push) Successful in 29s
Build Docker images / docker (eumau/debian, , buster) (push) Successful in 25s
Build Docker images / docker (eumau/debian, -slim, bookworm) (push) Successful in 28s
Build Docker images / docker (eumau/debian, -slim, bullseye) (push) Successful in 24s
Build Docker images / docker (eumau/debian, -slim, buster) (push) Successful in 36s
All checks were successful
Build Docker images / docker (eumau/debian, , bookworm) (push) Successful in 24s
Build Docker images / docker (eumau/debian, , bullseye) (push) Successful in 29s
Build Docker images / docker (eumau/debian, , buster) (push) Successful in 25s
Build Docker images / docker (eumau/debian, -slim, bookworm) (push) Successful in 28s
Build Docker images / docker (eumau/debian, -slim, bullseye) (push) Successful in 24s
Build Docker images / docker (eumau/debian, -slim, buster) (push) Successful in 36s
This commit is contained in:
parent
6d88501a81
commit
13c49c5d3b
@ -9,6 +9,7 @@ ARG DEBIAN_VERSION=bullseye-slim
|
||||
|
||||
FROM debian:${DEBIAN_VERSION}
|
||||
# COPY --from=confd /go/confd/bin/confd /usr/local/bin/confd
|
||||
ARG TARGETARCH
|
||||
ADD https://github.com/kelseyhightower/confd/releases/download/v0.16.0/confd-0.16.0-linux-${TARGETARCH} /usr/local/bin/confd
|
||||
RUN mkdir -p /start.d \
|
||||
&& printf '#!/bin/bash\nset -e\n/usr/local/bin/confd -onetime -backend env\nrun-parts -v /start.d\nexec ${@}\n' > /entrypoint.sh \
|
||||
|
Loading…
x
Reference in New Issue
Block a user