s
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test/1 unknown status
ci/woodpecker/pr/test/2 unknown status
ci/woodpecker/pr/build Pipeline failed

This commit is contained in:
Stephan Schnabel 2025-06-19 15:27:54 +02:00
parent 779e08a4bf
commit 646ab5a9af
Signed by: stephan.schnabel
SSH key fingerprint: SHA256:99zuzxNGFb5/5P+E/O7ONU2qhUojUe/D8rIPTW+9Xp0

View file

@ -37,6 +37,14 @@ RUN --mount=type=bind,from=download,source=/tmp/docker,target=/tmp/docker \
RUN useradd dockerd --uid 1000 --home-dir /home/docker --create-home && rm /etc/*- /home/docker/.* && \ RUN useradd dockerd --uid 1000 --home-dir /home/docker --create-home && rm /etc/*- /home/docker/.* && \
echo dockerd:100000:65536 >/etc/subuid && \ echo dockerd:100000:65536 >/etc/subuid && \
echo dockerd:100000:65536 >/etc/subgid echo dockerd:100000:65536 >/etc/subgid
USER 1000
COPY --chmod=555 entrypoint.sh /usr/bin/entrypoint.sh COPY --chmod=555 entrypoint.sh /usr/bin/entrypoint.sh
ENTRYPOINT ["/usr/bin/entrypoint.sh"] ENTRYPOINT ["/usr/bin/entrypoint.sh"]
RUN --mount=type=bind,from=download,source=/tmp/docker,target=/tmp/docker \
--mount=type=cache,target=/var/lib/apt/lists,sharing=locked \
--mount=type=tmpfs,target=/var/log \
--mount=type=tmpfs,target=/var/cache \
ls -lA /tmp/docker/ && \
apt-get -qq update && \
apt-get -qq install --yes --no-install-recommends htop wget curl && \
rm -rf /etc/*- /var/lib/dpkg/*-old /var/lib/dpkg/status
USER 1000