2018-02-18 15:59:29 +01:00
|
|
|
FROM fedora:27
|
|
|
|
|
|
|
|
RUN dnf -y install \
|
|
|
|
desktop-file-utils \
|
|
|
|
elfutils-libelf-devel \
|
2018-04-27 17:04:52 +02:00
|
|
|
findutils \
|
2018-02-18 15:59:29 +01:00
|
|
|
gcc \
|
|
|
|
gcc-c++ \
|
|
|
|
gettext \
|
|
|
|
git \
|
|
|
|
glibc-devel \
|
|
|
|
glibc-headers \
|
|
|
|
gtk-doc \
|
|
|
|
itstool \
|
2018-04-27 17:04:52 +02:00
|
|
|
lcov \
|
2018-02-18 15:59:29 +01:00
|
|
|
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 \
|
2018-05-20 06:14:56 +02:00
|
|
|
wget \
|
|
|
|
unzip \
|
|
|
|
make \
|
2018-03-29 10:57:55 +02:00
|
|
|
&& dnf clean all
|
|
|
|
|
|
|
|
RUN pip3 install meson
|
2018-02-18 15:59:29 +01:00
|
|
|
|
2018-05-20 06:14:56 +02:00
|
|
|
COPY setup-android-ndk.sh .
|
|
|
|
RUN ./setup-android-ndk.sh
|
|
|
|
|
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
|