From 8bbaeca1c1afb0aae60529769f0714e4ea510a87 Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Thu, 25 Sep 2025 13:08:23 +0100 Subject: [PATCH] Switched test image to opensuse --- Dockerfile | 8 ++++---- inner/Dockerfile | 2 +- storage.conf | 4 ++++ 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 storage.conf diff --git a/Dockerfile b/Dockerfile index 691860a..79d1f3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM docker.io/library/alpine:latest +FROM docker.io/opensuse/leap:latest COPY ./entrypoint.sh /entrypoint.sh COPY ./inner/ /inner/ +COPY ./storage.conf /etc/containers/storage.conf -RUN apk update && \ - apk add iptables openrc podman podman-openrc runc && \ - printf "[storage]\ndriver = \"vfs\"\n" > /etc/containers/storage.conf && \ +RUN zypper --non-interactive refresh && \ + zypper --non-interactive install podman runc && \ chmod +x /entrypoint.sh ENTRYPOINT /entrypoint.sh diff --git a/inner/Dockerfile b/inner/Dockerfile index bc12290..4ab694e 100644 --- a/inner/Dockerfile +++ b/inner/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/library/alpine:latest +FROM docker.io/opensuse/leap:latest COPY ./entrypoint.sh /entrypoint.sh diff --git a/storage.conf b/storage.conf new file mode 100644 index 0000000..8df98c6 --- /dev/null +++ b/storage.conf @@ -0,0 +1,4 @@ +[storage] +driver = "vfs" +runroot = "/run/containers/storage" +graphroot = "/run/containers/graph"