initial commit
This commit is contained in:
commit
723b9f185f
3 changed files with 22 additions and 0 deletions
12
Containerfile
Normal file
12
Containerfile
Normal 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
|
2
rootfs/etc/containers/containers.conf
Normal file
2
rootfs/etc/containers/containers.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[containers]
|
||||||
|
userns = "keep-id"
|
8
rootfs/etc/containers/storage.conf
Normal file
8
rootfs/etc/containers/storage.conf
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue