[glib/ci-update: 8/11] ci: Add more Docker images
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/ci-update: 8/11] ci: Add more Docker images
- Date: Tue, 30 Apr 2019 13:50:07 +0000 (UTC)
commit c13397d896b3e13c7dbd6f017df87afb43bcd1c9
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Apr 30 13:23:02 2019 +0100
ci: Add more Docker images
Currently, the fedora Docker image contains Android and MingW bits; we
should have separate images, so we don't need a massive one doing
everything, and we can update them independently whenever needed.
.gitlab-ci/android-ndk.Dockerfile | 75 +++++++++++++++++++++++++++++++++++++++
.gitlab-ci/mingw.Dockerfile | 70 ++++++++++++++++++++++++++++++++++++
2 files changed, 145 insertions(+)
---
diff --git a/.gitlab-ci/android-ndk.Dockerfile b/.gitlab-ci/android-ndk.Dockerfile
new file mode 100644
index 000000000..0f8840168
--- /dev/null
+++ b/.gitlab-ci/android-ndk.Dockerfile
@@ -0,0 +1,75 @@
+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
diff --git a/.gitlab-ci/mingw.Dockerfile b/.gitlab-ci/mingw.Dockerfile
new file mode 100644
index 000000000..6bc5c5dd0
--- /dev/null
+++ b/.gitlab-ci/mingw.Dockerfile
@@ -0,0 +1,70 @@
+FROM fedora:29
+
+RUN dnf -y install \
+ 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 \
+ libxslt \
+ mingw64-gcc \
+ mingw64-gcc-c++ \
+ mingw64-gettext \
+ mingw64-libffi \
+ mingw64-zlib \
+ 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
+COPY cross_file_mingw64.txt /opt
+
+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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]