# Dockerfile to build container images for Gitlab Continuous Integration
#
# This starts with an openSUSE Tumbleweed image, and installs the dependencies
# for building and testing at-spi2-core.
#
# See README.md for documentation.

FROM opensuse/tumbleweed:latest

RUN zypper refresh                              \
 && zypper install -y                           \
           clang                                \
           clang-tools                          \
           gcc                                  \
           dbus-1                               \
           dbus-1-devel                         \
           gettext                              \
           git                                  \
           glib2-devel                          \
           gobject-introspection-devel          \
           gsettings-desktop-schemas            \
           itstool                              \
           libasan6                             \
           libxml2-devel                        \
           libxkbcommon-devel                   \
           libXi-devel                          \
           libXtst-devel                        \
           lcov                                 \
           meson                                \
           ninja                                \
           python38                             \
           python38-gobject                     \
 && zypper clean --all

# Dockerfile to build container images for Gitlab Continuous Integration
#
# This starts with an openSUSE Tumbleweed image, and installs the dependencies
# for building and testing at-spi2-core.
#
# See README.md for documentation.

FROM opensuse/tumbleweed:latest

RUN zypper refresh                              \
 && zypper install -y                           \
           clang                                \
           clang-tools                          \
           findutils                            \
           gcc                                  \
           dbus-1                               \
           dbus-1-devel                         \
           gettext                              \
           git                                  \
           glib2-devel                          \
           gobject-introspection-devel          \
           gsettings-desktop-schemas            \
           itstool                              \
           libasan6                             \
           libxml2-devel                        \
           libxkbcommon-devel                   \
           libXi-devel                          \
           libXtst-devel                        \
           lcov                                 \
           meson                                \
           ninja                                \
           python38                             \
           python38-gobject                     \
 && zypper clean --all

Install findutils so lcov will work in the openSUSE image
Install findutils so lcov will work in the openSUSE image

See https://bugzilla.opensuse.org/show_bug.cgi?id=1194671 - openSUSE's
lcov package lacks a dependency on findutils, but lcov's scripts use
find(1) to gather *.gcno files from the build.  Findutils is not
installed in an opensuse/tumbleweed image by default.
