summaryrefslogtreecommitdiff
path: root/.gitlab-ci/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci/Dockerfile')
-rw-r--r--.gitlab-ci/Dockerfile12
1 files changed, 11 insertions, 1 deletions
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile
index 394123e9..1a735977 100644
--- a/.gitlab-ci/Dockerfile
+++ b/.gitlab-ci/Dockerfile
@@ -29,7 +29,7 @@ RUN dnf update -y \
vala \
valgrind \
which \
- && dnf builddep -y glib2 vala \
+ && dnf builddep -y glib2 nghttp2 vala \
&& dnf clean all \
&& python2.7 -m ensurepip \
&& pip2.7 install virtualenv autobahntestsuite \
@@ -71,6 +71,16 @@ RUN git clone https://gitlab.gnome.org/GNOME/libsoup.git \
&& popd \
&& rm -rf libsoup
+# Update libnghttp2 for do_invalid_header_rfc9113_received_test()
+RUN git clone https://github.com/nghttp2/nghttp2.git \
+ && pushd nghttp2 \
+ && git checkout v1.50.0 \
+ && autoreconf --install --symlink \
+ && ./configure --prefix=/usr --disable-static --disable-examples \
+ && make -j $(nproc) install \
+ && popd \
+ && rm -rf nghttp2
+
ARG HOST_USER_ID=5555
ENV HOST_USER_ID ${HOST_USER_ID}
RUN useradd -u $HOST_USER_ID -ms /bin/bash user