Skip to content

Commit 1c72409

Browse files
authored
Merge pull request #90 from thin-edge/fix-podman-images
fix(test): use fixed podman:v5.7 version and fix test image startup issue
2 parents 9b56b75 + 80e5049 commit 1c72409

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test-images/podman-v5/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
FROM quay.io/containers/podman:v5
1+
FROM quay.io/containers/podman:v5.7
22
RUN systemctl enable podman.socket \
33
&& echo "enable podman.socket" > /usr/lib/systemd/system-preset/95-podman.preset \
44
# create systemd-tmpfiles config to create a symlink for docker to the podman socket
55
# which allows using docker and docker compose without having to set the DOCKER_HOST variable
66
# Source: podman-docker debian package
77
&& echo 'L+ %t/docker.sock - - - - %t/podman/podman.sock' | tee /usr/lib/tmpfiles.d/podman-docker-socket.conf \
8-
&& systemd-tmpfiles --create podman-docker-socket.conf >/dev/null || true
8+
&& systemd-tmpfiles --create podman-docker-socket.conf >/dev/null || true \
9+
# disable first boot otherwise the Fedora 43 hangs on startup which prevents other services from starting
10+
&& rm -f /usr/lib/systemd/system/sysinit.target.wants/systemd-firstboot.service
911
ENTRYPOINT [ "/lib/systemd/systemd" ]

0 commit comments

Comments
 (0)