2018-02-18 15:59:29 +01:00
|
|
|
FROM fedora:27
|
|
|
|
|
|
|
|
RUN dnf -y install \
|
|
|
|
desktop-file-utils \
|
|
|
|
elfutils-libelf-devel \
|
|
|
|
gcc \
|
|
|
|
gcc-c++ \
|
|
|
|
gettext \
|
|
|
|
git \
|
|
|
|
glibc-devel \
|
|
|
|
glibc-headers \
|
|
|
|
gtk-doc \
|
|
|
|
itstool \
|
|
|
|
libattr-devel \
|
|
|
|
libffi-devel \
|
|
|
|
libmount-devel \
|
|
|
|
libselinux-devel \
|
|
|
|
libxslt \
|
2018-03-29 10:57:55 +02:00
|
|
|
ninja-build \
|
2018-02-18 15:59:29 +01:00
|
|
|
pcre-devel \
|
2018-03-29 10:57:55 +02:00
|
|
|
python3 \
|
|
|
|
python3-pip \
|
|
|
|
python3-wheel \
|
2018-02-18 15:59:29 +01:00
|
|
|
systemtap-sdt-devel \
|
2018-03-29 10:57:55 +02:00
|
|
|
zlib-devel \
|
|
|
|
&& dnf clean all
|
|
|
|
|
|
|
|
RUN pip3 install meson
|
2018-02-18 15:59:29 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-03-29 10:57:55 +02:00
|
|
|
ENV LANG C.UTF-8
|