Skip to content

Commit 80e5049

Browse files
committed
disable systemd-firstboot dependency to fix test image startup issue
1 parent cfc2d45 commit 80e5049

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test-images/podman-v5/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ RUN systemctl enable 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)