FROM registry.fedoraproject.org/fedora:latest RUN --mount=type=cache,target=/var/cache \ dnf install -y \ tini \ && groupadd -g 1000 jenkins \ && useradd -c 'Jenkins user' -g 1000 -l -M -s /bin/sh -u 1000 jenkins COPY dch-root-ca.crt /etc/pki/ca-trust/source/anchors/ RUN update-ca-trust CMD ["tini", "sleep", "--", "infinity"]