Merge branch '976-disable-assert-checks' into 'master'
[glib.git] / .gitlab-ci / Dockerfile
blob06d3a4ae36f78ec0a09d5ae6be9bb292f2d12f0e
1 FROM fedora:27
3 RUN dnf -y install \
4     desktop-file-utils \
5     elfutils-libelf-devel \
6     findutils \
7     gamin-devel \
8     gcc \
9     gcc-c++ \
10     gettext \
11     git \
12     glibc-devel \
13     glibc-headers \
14     gtk-doc \
15     itstool \
16     lcov \
17     libattr-devel \
18     libffi-devel \
19     libmount-devel \
20     libselinux-devel \
21     libxslt \
22     make \
23     mingw64-gcc \
24     mingw64-gcc-c++ \
25     mingw64-gettext \
26     mingw64-libffi \
27     mingw64-zlib \
28     ncurses-compat-libs \
29     ninja-build \
30     pcre-devel \
31     python3 \
32     python3-pip \
33     python3-wheel \
34     systemtap-sdt-devel \
35     unzip \
36     wget \
37     zlib-devel \
38  && dnf clean all
40 WORKDIR /opt
41 ENV ANDROID_NDK_PATH /opt/android-ndk
42 COPY android-download-ndk.sh .
43 RUN ./android-download-ndk.sh
44 COPY android-setup-env.sh .
45 RUN ./android-setup-env.sh arm64 21
46 RUN ./android-setup-env.sh arm64 28
47 RUN rm -rf $ANDROID_NDK_PATH
49 COPY cross_file_mingw64.txt /opt
51 RUN pip3 install meson==0.47.0
53 ARG HOST_USER_ID=5555
54 ENV HOST_USER_ID ${HOST_USER_ID}
55 RUN useradd -u $HOST_USER_ID -ms /bin/bash user
57 USER user
58 WORKDIR /home/user
60 ENV LANG C.UTF-8