Dockerfile syntax
Some checks failed
Build Docker image / docker (linux/amd64, -slim, bullseye) (push) Waiting to run
Build Docker image / docker (linux/amd64, -slim, buster) (push) Waiting to run
Build Docker image / docker (linux/arm64, , bookworm) (push) Waiting to run
Build Docker image / docker (linux/arm64, , bullseye) (push) Waiting to run
Build Docker image / docker (linux/arm64, , buster) (push) Waiting to run
Build Docker image / docker (linux/arm64, -slim, bookworm) (push) Waiting to run
Build Docker image / docker (linux/arm64, -slim, bullseye) (push) Waiting to run
Build Docker image / docker (linux/arm64, -slim, buster) (push) Waiting to run
Build Docker image / docker (linux/amd64, , bookworm) (push) Failing after 13s
Build Docker image / docker (linux/amd64, , bullseye) (push) Failing after 14s
Build Docker image / docker (linux/amd64, , buster) (push) Failing after 13s
Build Docker image / docker (linux/amd64, -slim, bookworm) (push) Has been cancelled

This commit is contained in:
Mauro Torrez 2024-02-27 12:52:31 -03:00
parent 09e0ce9e42
commit fa1587e732

View File

@ -2,7 +2,7 @@ ARG DEBIAN_VERSION=bullseye-slim
ARG TARGET_PLATFORM=linux/amd64
FROM debian:${DEBIAN_VERSION}
ARG CONFD_VERSION=0.16.0
ADD https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-${TARGET_PLATFORM////-} /usr/local/bin/confd
ADD https://github.com/kelseyhightower/confd/releases/download/v${CONFD_VERSION}/confd-${CONFD_VERSION}-${TARGET_PLATFORM//\//-} /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 \
&& mkdir -p /etc/confd/conf.d /etc/confd/templates \