summaryrefslogtreecommitdiff
path: root/.gitlab-ci/Dockerfile
blob: 4d79baa676330c60e9ce7f1a21300299b13f77da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
FROM fedora:36

# NOTE: We set tsflags to empty so docs actually install...
RUN dnf update -y \
    && dnf install --setopt=tsflags='' -y \
                      brotli-devel \
                      clang-analyzer \
                      'dnf-command(builddep)' \
                      gcovr \
                      git \
                      gi-docgen \
                      glib2-doc \
                      gnutls-devel \
                      gobject-introspection-devel \
                      gtk-doc \
                      httpd \
                      krb5-devel \
                      lcov \
                      libasan \
                      libnghttp2-devel \
                      libpsl-devel \
                      libsoup-doc \
                      lsof \
                      meson \
                      mod_ssl \
                      python2.7 \
                      redhat-rpm-config \
                      samba-winbind-clients \
                      sqlite-devel \
                      sysprof-devel \
                      vala \
                      valgrind \
                      which \
    && dnf builddep -y nghttp2 \
    && dnf clean all \
    && python2.7 -m ensurepip \
    && pip2.7 install --upgrade pip \
    && pip2.7 install virtualenv wsaccel==0.6.3 autobahntestsuite

# 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

USER user
WORKDIR /home/user

ENV LANG C.UTF-8