ci: Install Meson from PyPI

The base Fedora image we use for our CI does not always have an updated
Meson package to fit our requirements. Let's install Meson using
Python's pip instead.
This commit is contained in:
Emmanuele Bassi 2018-03-29 09:57:55 +01:00
parent dad4f956c5
commit 19ffd365ff

View File

@ -16,10 +16,16 @@ RUN dnf -y install \
libmount-devel \ libmount-devel \
libselinux-devel \ libselinux-devel \
libxslt \ libxslt \
meson \ ninja-build \
pcre-devel \ pcre-devel \
python3 \
python3-pip \
python3-wheel \
systemtap-sdt-devel \ systemtap-sdt-devel \
zlib-devel zlib-devel \
&& dnf clean all
RUN pip3 install meson
ARG HOST_USER_ID=5555 ARG HOST_USER_ID=5555
ENV HOST_USER_ID ${HOST_USER_ID} ENV HOST_USER_ID ${HOST_USER_ID}
@ -28,4 +34,4 @@ RUN useradd -u $HOST_USER_ID -ms /bin/bash user
USER user USER user
WORKDIR /home/user WORKDIR /home/user
ENV LANG C.utf8 ENV LANG C.UTF-8