diff --git a/Containerfile b/Containerfile index aa74271..f1b3c08 100644 --- a/Containerfile +++ b/Containerfile @@ -1,10 +1,13 @@ FROM registry.fedoraproject.org/fedora:latest -RUN groupadd -g 1000 jenkins \ +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 ["python3", "-c", "import signal;signal.pause()"] +CMD ["tini", "sleep", "--", "infinity"]