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-06-07 17:23:17 +02:00
|
|
|
gamin-devel \
|
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-06-07 17:27:54 +02:00
|
|
|
make \
|
|
|
|
mingw64-gcc \
|
|
|
|
mingw64-gcc-c++ \
|
|
|
|
mingw64-gettext \
|
|
|
|
mingw64-libffi \
|
|
|
|
mingw64-zlib \
|
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-05-20 06:14:56 +02:00
|
|
|
unzip \
|
2018-06-07 17:27:54 +02:00
|
|
|
wget \
|
|
|
|
zlib-devel \
|
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-05-20 21:17:48 +02:00
|
|
|
COPY cross_file_mingw64.txt /opt
|
|
|
|
|
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
|