ARG DEBIAN_VERSION=stable FROM debian:${DEBIAN_VERSION}-slim # Container metadata LABEL org.opencontainers.image.title="Base Runner" LABEL org.opencontainers.image.description="CI/CD Runner image with common CLI utilities" LABEL org.opencontainers.image.url="https://git.inteligr8.com/inteligr8/base-runner-image" LABEL org.opencontainers.image.authors="Brian Long " LABEL org.opencontainers.image.license="LGPL" # Common utilities RUN apt update && \ apt install -y tar gzip zip unzip curl jq xmlstarlet git # Support multiple entrypoint scripts RUN mkdir -p /opt/containerd ADD --chmod=755 entrypoint.sh /opt/containerd/entrypoint.sh ADD --chmod=755 configure-git.sh /opt/containerd/00-configure-git.sh ADD --chmod=755 configure-curl.sh /opt/containerd/00-configure-curl.sh # Support build-defined curl configuration ENV CURL_CONFIG_DIR=/opt/etc/curl RUN mkdir -p ${CURL_CONFIG_DIR} ENTRYPOINT ["/opt/containerd/entrypoint.sh"]