mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
397e44fc8a
Fedora 27 was EOL'ed on November 2018. We move to Fedora 28 because the Android NDK requires Python 2 and probably other things, and bumping to Fedora 29 is going to be more painful.
76 lines
1.4 KiB
Docker
76 lines
1.4 KiB
Docker
FROM fedora:28
|
|
|
|
RUN dnf -y install \
|
|
autoconf \
|
|
automake \
|
|
bindfs \
|
|
clang \
|
|
clang-analyzer \
|
|
desktop-file-utils \
|
|
elfutils-libelf-devel \
|
|
findutils \
|
|
fuse \
|
|
gamin-devel \
|
|
gcc \
|
|
gcc-c++ \
|
|
gettext \
|
|
git \
|
|
glibc-devel \
|
|
glibc-headers \
|
|
glibc-langpack-de \
|
|
glibc-langpack-el \
|
|
glibc-langpack-el \
|
|
glibc-langpack-en \
|
|
glibc-langpack-es \
|
|
glibc-langpack-es \
|
|
glibc-langpack-fa \
|
|
glibc-langpack-fr \
|
|
glibc-langpack-hr \
|
|
glibc-langpack-ja \
|
|
glibc-langpack-lt \
|
|
glibc-langpack-pl \
|
|
glibc-langpack-ru \
|
|
glibc-langpack-tr \
|
|
gtk-doc \
|
|
itstool \
|
|
lcov \
|
|
libattr-devel \
|
|
libffi-devel \
|
|
libmount-devel \
|
|
libselinux-devel \
|
|
libtool \
|
|
libxslt \
|
|
make \
|
|
ncurses-compat-libs \
|
|
ninja-build \
|
|
pcre-devel \
|
|
python3 \
|
|
python3-pip \
|
|
python3-wheel \
|
|
systemtap-sdt-devel \
|
|
unzip \
|
|
wget \
|
|
xz \
|
|
zlib-devel \
|
|
&& dnf clean all
|
|
|
|
WORKDIR /opt
|
|
ENV ANDROID_NDK_PATH /opt/android-ndk
|
|
COPY android-download-ndk.sh .
|
|
RUN ./android-download-ndk.sh
|
|
COPY android-setup-env.sh .
|
|
RUN ./android-setup-env.sh arm64 21
|
|
RUN ./android-setup-env.sh arm64 28
|
|
RUN rm -rf $ANDROID_NDK_PATH
|
|
|
|
RUN pip3 install meson==0.48.0
|
|
|
|
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
|
|
|
|
ENV LANG C.UTF-8
|