diff options
author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2019-12-04 15:38:36 +0100 |
---|---|---|
committer | Marco Trevisan <mail@3v1n0.net> | 2019-12-04 14:59:03 +0000 |
commit | 98cd1c2680950aee01be0c53241bfd8d1ec04f55 (patch) | |
tree | 8e2bdfe9ef43b400f1ae8eb0e6099612457e81bd /.gitlab-ci | |
parent | ae285e790d4b2bbc76591b90c8e737af9970ebbb (diff) |
ci: Use a docker image for builds and tests
Avoid repeating the machine updates and deps installation at every stage,
just reuse the docker image
Registered images are at:
https://gitlab.freedesktop.org/libfprint/libfprint/container_registry
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/Dockerfile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile new file mode 100644 index 0000000..bf0eb36 --- /dev/null +++ b/.gitlab-ci/Dockerfile @@ -0,0 +1,36 @@ +# Rebuild and push with +# +# cd .gitlab-ci/ +# docker build --no-cache -t registry.freedesktop.org/libfprint/libfprint/master:v1 . +# docker push registry.freedesktop.org/libfprint/libfprint/master:v1 +# + +FROM fedora:rawhide + +RUN dnf -y update && dnf -y upgrade && \ + dnf -y install \ + doxygen \ + flatpak-builder \ + gcc \ + gcc-c++ \ + git \ + glib2-devel \ + glibc-devel \ + gobject-introspection-devel \ + gtk-doc \ + gtk3-devel \ + libabigail \ + libgusb-devel \ + libX11-devel \ + libXv-devel \ + meson \ + nss-devel \ + pixman-devel \ + python3-cairo \ + python3-gobject \ + systemd \ + umockdev \ + uncrustify \ + valgrind \ + && \ + dnf clean all |