summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-03-08 13:53:43 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2020-03-13 15:51:57 +0000
commite5be27f756617e8523d88c1f641961d99e20ef7b (patch)
tree3ae22ce51c6dd189136b8ab6259bd5612e94c85a /.gitlab-ci
parent86855384193daf2c950b367cbb1d18eba3a3206e (diff)
downloadgtk+-e5be27f756617e8523d88c1f641961d99e20ef7b.tar.gz
ci: Add a Debian-based image
We want to test GTK3 on Debian as well.
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/debian-gtk3.Dockerfile71
1 files changed, 71 insertions, 0 deletions
diff --git a/.gitlab-ci/debian-gtk3.Dockerfile b/.gitlab-ci/debian-gtk3.Dockerfile
new file mode 100644
index 0000000000..d8007a731a
--- /dev/null
+++ b/.gitlab-ci/debian-gtk3.Dockerfile
@@ -0,0 +1,71 @@
+FROM debian:buster
+
+RUN apt-get update -qq && apt-get install --no-install-recommends -qq -y \
+ adwaita-icon-theme \
+ ccache \
+ dconf-gsettings-backend \
+ g++ \
+ gcc \
+ gettext \
+ git \
+ gobject-introspection \
+ gvfs \
+ hicolor-icon-theme \
+ itstool \
+ libatk-bridge2.0-dev \
+ libatk1.0-dev \
+ libc6-dev \
+ libcairo2-dev \
+ libcairo-gobject2 \
+ libcolord-dev \
+ libcups2-dev \
+ libegl1-mesa-dev \
+ libepoxy-dev \
+ libfontconfig1-dev \
+ libfreetype6-dev \
+ libgdk-pixbuf2.0-dev \
+ libgirepository1.0-dev \
+ libglib2.0-dev \
+ libharfbuzz-dev \
+ libjson-glib-dev \
+ libpango1.0-dev \
+ librest-dev \
+ librsvg2-common \
+ libsoup2.4-dev \
+ libwayland-dev \
+ libx11-dev \
+ libxcomposite-dev \
+ libxcursor-dev \
+ libxdamage-dev \
+ libxext-dev \
+ libxfixes-dev \
+ libxi-dev \
+ libxinerama-dev \
+ libxkbcommon-dev \
+ libxkbcommon-x11-dev \
+ libxml2-dev \
+ libxrandr-dev \
+ locales \
+ ninja-build \
+ pkg-config \
+ python3 \
+ python3-pip \
+ python3-setuptools \
+ python3-wheel \
+ shared-mime-info \
+ wayland-protocols \
+ xauth \
+ xvfb \
+ && rm -rf /usr/share/doc/* /usr/share/man/*
+
+# Locale for our build
+RUN locale-gen C.UTF-8 && /usr/sbin/update-locale LANG=C.UTF-8
+
+ARG HOST_USER_ID=5555
+ENV HOST_USER_ID ${HOST_USER_ID}
+RUN useradd -u $HOST_USER_ID -ms /bin/bash user
+
+USER user
+WORKDIR /home/user
+
+ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8