mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 21:02:14 +00:00
ce64ab5449
We have branched now, time for a shiny new CI image. Update the Dockerfile to: - switch to F32 - use a single shared copr - drop dependencies that are now covered by builddep - do not include weak deps https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1176
28 lines
915 B
Docker
28 lines
915 B
Docker
# Rebuild and push with
|
|
#
|
|
# cd .gitlab-ci/
|
|
# podman build --format docker --no-cache -t registry.gitlab.gnome.org/gnome/mutter/master:v4 .
|
|
# podman push registry.gitlab.gnome.org/gnome/mutter/master:v4
|
|
#
|
|
|
|
FROM fedora:32
|
|
|
|
RUN dnf -y update && dnf -y upgrade && \
|
|
dnf install -y 'dnf-command(builddep)' && \
|
|
dnf install -y 'dnf-command(copr)' && \
|
|
dnf copr enable -y jadahl/mutter-ci && \
|
|
|
|
dnf builddep -y mutter --setopt=install_weak_deps=False && \
|
|
|
|
# For running unit tests
|
|
dnf install -y xorg-x11-server-Xvfb mesa-dri-drivers dbus dbus-x11 \
|
|
'*/xvfb-run' gdm-lib accountsservice-libs gnome-control-center \
|
|
--setopt=install_weak_deps=False && \
|
|
|
|
# GNOME Shell
|
|
dnf builddep -y gnome-shell --setopt=install_weak_deps=False && \
|
|
dnf remove -y gnome-bluetooth-libs-devel && \
|
|
dnf remove -y --noautoremove mutter mutter-devel && \
|
|
|
|
dnf clean all
|