Switched test image to opensuse

This commit is contained in:
2025-09-25 13:08:23 +01:00
parent e7ffbfbf34
commit 8bbaeca1c1
3 changed files with 9 additions and 5 deletions

View File

@@ -1,11 +1,11 @@
FROM docker.io/library/alpine:latest FROM docker.io/opensuse/leap:latest
COPY ./entrypoint.sh /entrypoint.sh COPY ./entrypoint.sh /entrypoint.sh
COPY ./inner/ /inner/ COPY ./inner/ /inner/
COPY ./storage.conf /etc/containers/storage.conf
RUN apk update && \ RUN zypper --non-interactive refresh && \
apk add iptables openrc podman podman-openrc runc && \ zypper --non-interactive install podman runc && \
printf "[storage]\ndriver = \"vfs\"\n" > /etc/containers/storage.conf && \
chmod +x /entrypoint.sh chmod +x /entrypoint.sh
ENTRYPOINT /entrypoint.sh ENTRYPOINT /entrypoint.sh

View File

@@ -1,4 +1,4 @@
FROM docker.io/library/alpine:latest FROM docker.io/opensuse/leap:latest
COPY ./entrypoint.sh /entrypoint.sh COPY ./entrypoint.sh /entrypoint.sh

4
storage.conf Normal file
View File

@@ -0,0 +1,4 @@
[storage]
driver = "vfs"
runroot = "/run/containers/storage"
graphroot = "/run/containers/graph"