initial commit

This commit is contained in:
Sebastian Hugentobler 2025-06-03 08:16:32 +02:00
commit 723b9f185f
Signed by: shu
SSH key fingerprint: SHA256:ppcx6MlixdNZd5EUM1nkHOKoyQYoJwzuQKXM6J/t66M
3 changed files with 22 additions and 0 deletions

12
Containerfile Normal file
View file

@ -0,0 +1,12 @@
FROM docker.io/jenkins/ssh-agent:alpine-jdk21
RUN apk --no-cache add \
podman \
fuse-overlayfs
RUN mkdir -p /run/containers
RUN echo jenkins:100000:65536 >/etc/subuid
RUN echo jenkins:100000:65536 >/etc/subgid
RUN ln -s /usr/bin/podman /usr/bin/docker

View file

@ -0,0 +1,2 @@
[containers]
userns = "keep-id"

View file

@ -0,0 +1,8 @@
[storage]
driver = "overlay"
runroot = "/tmp/containers"
graphroot = "$HOME/.local/share/containers/storage"
rootless_storage_path = "$HOME/.local/share/containers/storage"
[storage.options.overlay]
mount_program = "/usr/bin/fuse-overlayfs"