mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
ci: Ensure the machine-id is set on the Fedora CI image
Run `systemd-machine-id-setup` when creating the image, so that `/etc/machine-id` is created with a valid ID. Since systemd isn’t started when running the CI image with podman/Docker, it’s not created otherwise. This causes some tests to fail. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
da50de9b30
commit
ef41cc28b4
@ -10,7 +10,7 @@ cache:
|
||||
- _ccache/
|
||||
|
||||
variables:
|
||||
FEDORA_IMAGE: "registry.gitlab.gnome.org/gnome/glib/fedora:v9"
|
||||
FEDORA_IMAGE: "registry.gitlab.gnome.org/gnome/glib/fedora:v10"
|
||||
COVERITY_IMAGE: "registry.gitlab.gnome.org/gnome/glib/coverity:v1"
|
||||
DEBIAN_IMAGE: "registry.gitlab.gnome.org/gnome/glib/debian-stable:v7"
|
||||
ANDROID_IMAGE: "registry.gitlab.gnome.org/gnome/glib/android-ndk:v3"
|
||||
|
@ -1,5 +1,8 @@
|
||||
FROM fedora:31
|
||||
|
||||
# Set /etc/machine-id as it’s needed for some D-Bus tests
|
||||
RUN systemd-machine-id-setup
|
||||
|
||||
RUN dnf -y update \
|
||||
&& dnf -y install \
|
||||
bindfs \
|
||||
|
Loading…
Reference in New Issue
Block a user