[libsoup] docker: Add glib 2.69.0 to image



commit 2043243706e4d92a1a7a4b8b16b534d812c3e1b4
Author: Patrick Griffis <pgriffis igalia com>
Date:   Thu Jul 8 13:30:15 2021 -0500

    docker: Add glib 2.69.0 to image

 .gitlab-ci/Dockerfile    | 31 ++++++++++++++++++++++++-------
 .gitlab-ci/run-docker.sh |  2 +-
 2 files changed, 25 insertions(+), 8 deletions(-)
---
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile
index 1897ab16..7d6de85c 100644
--- a/.gitlab-ci/Dockerfile
+++ b/.gitlab-ci/Dockerfile
@@ -1,9 +1,10 @@
-FROM fedora-minimal:34
+FROM fedora:34
 
-RUN microdnf update -y \
-    && microdnf install -y autoconf-archive \
+RUN dnf update -y \
+    && dnf install -y \
                       brotli-devel \
                       clang-analyzer \
+                      'dnf-command(builddep)' \
                       git \
                       glib2-doc \
                       gnutls-devel \
@@ -26,12 +27,28 @@ RUN microdnf update -y \
                       sysprof-devel \
                       valgrind \
                       which \
+    && dnf builddep -y glib2 \
+    && dnf install --releasever=35 -y vala \
+    && dnf clean all \
     && python2.7 -m ensurepip \
     && pip2.7 install virtualenv autobahntestsuite \
-    && pip3 install quart \
-    && microdnf install -y fedora-repos-rawhide \
-    && microdnf install --enablerepo=rawhide -y vala \
-    && microdnf clean all
+    && pip3 install quart
+
+RUN git clone https://gitlab.gnome.org/GNOME/glib.git \
+    && pushd glib \
+    && git checkout 2.69.0 \
+    && meson _build --prefix=/usr \
+    && ninja -C _build install \
+    && popd \
+    && rm -rf glib
+
+RUN git clone https://gitlab.gnome.org/GNOME/glib-networking.git \
+    && pushd glib-networking \
+    && git checkout 2.70.alpha \
+    && meson _build --prefix=/usr \
+    && ninja -C _build install \
+    && popd \
+    && rm -rf glib-networking
 
 ARG HOST_USER_ID=5555
 ENV HOST_USER_ID ${HOST_USER_ID}
diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh
index fce3d40d..e386d021 100755
--- a/.gitlab-ci/run-docker.sh
+++ b/.gitlab-ci/run-docker.sh
@@ -2,7 +2,7 @@
 
 set -e
 
-TAG="registry.gitlab.gnome.org/gnome/libsoup/master:v12"
+TAG="registry.gitlab.gnome.org/gnome/libsoup/master:v13"
 
 SUDO_CMD="sudo"
 if docker -v |& grep -q podman; then


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]