# https://github.com/containers/podman/blob/main/contrib/podmanimage/stable/Containerfile # https://hub.docker.com/r/jenkins/inbound-agent/tags ARG BASE="alpine-jdk17" FROM jenkins/inbound-agent:${BASE} ARG BUILDUSER=jenkins USER root RUN echo "@edge-community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ apk upgrade -U --available --no-cache && \ apk add --no-cache \ tini \ make \ yq \ aws-cli \ hugo@edge-community ADD entrypoint.sh /usr/local/bin/entrypoint.sh USER $BUILDUSER ENV PATH=$PATH:/home/${BUILDUSER}/.local/bin ENTRYPOINT ["/sbin/tini", "--", "/usr/local/bin/entrypoint.sh"]