mirror of
https://github.com/Cian-H/pinp_test.git
synced 2025-12-22 12:11:58 +00:00
Switched test image to opensuse
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM docker.io/library/alpine:latest
|
||||
FROM docker.io/opensuse/leap:latest
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
|
||||
|
||||
4
storage.conf
Normal file
4
storage.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
[storage]
|
||||
driver = "vfs"
|
||||
runroot = "/run/containers/storage"
|
||||
graphroot = "/run/containers/graph"
|
||||
Reference in New Issue
Block a user