Debian Codegraph @

.gitlab-ci/Dockerfile

raw
1 FROM fedora:rawhide
2
3 RUN dnf install -y --allowerasing dnf-plugins-core git gnome-desktop-testing dbus-daemon python3-twisted python3-gobject procps-ng bzip2 httpd mod_ssl openssh-server passwd gcc-c++ gcr-devel \
4 && dnf builddep -y gvfs \
5 && dnf clean all
6
7 RUN dnf install -y rest0.7-devel uhttpmock-devel gobject-introspection-devel \
8 && dnf clean all \
9 && git clone --depth 1 https://gitlab.gnome.org/GNOME/msgraph \
10 && cd msgraph \
11 && meson . _msgraph --prefix=/usr -Dgtk_doc=false \
12 && ninja -C _msgraph \
13 && ninja -C _msgraph install \
14 && cd .. \
15 && rm -rf msgraph
16
17 RUN dnf install -y rest-devel \
18 && dnf clean all \
19 && git clone --depth 1 https://gitlab.gnome.org/GNOME/gnome-online-accounts \
20 && cd gnome-online-accounts \
21 && meson . build --prefix=/usr -Dgtk_doc=false \
22 && ninja -C build \
23 && ninja -C build install \
24 && cd .. \
25 && rm -rf gnome-online-accounts
26
27 RUN sed -i -e 's/# %wheel/%wheel/' /etc/sudoers
28 RUN useradd -G wheel -m user
29 RUN passwd -d user
30 USER user
31 WORKDIR /home/user
32 ENV USER user
33 ENV XDG_RUNTIME_DIR /home/user
34
35 RUN ssh-keygen -t rsa -q -N "" -f ~/.ssh/id_rsa