[glib/ci-update: 5/11] ci: Add Debian stable Docker image



commit 4e7fc0a27c3c21196611e00e461dba3d7141d764
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Apr 29 16:54:42 2019 +0100

    ci: Add Debian stable Docker image
    
    Does everything the Fedora image does, only with an older toolchain and
    older dependencies.

 .gitlab-ci/debian-stable.Dockerfile | 87 +++++++++++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)
---
diff --git a/.gitlab-ci/debian-stable.Dockerfile b/.gitlab-ci/debian-stable.Dockerfile
new file mode 100644
index 000000000..05287b5de
--- /dev/null
+++ b/.gitlab-ci/debian-stable.Dockerfile
@@ -0,0 +1,87 @@
+FROM debian:stretch
+
+RUN apt-get update -qq && apt-get install --no-install-recommends -qq -y \
+    bindfs \
+    clang \
+    clang-tools-4.0 \
+    desktop-file-utils \
+    elfutils \
+    findutils \
+    fuse \
+    gcc \
+    g++ \
+    gettext \
+    git \
+    libc6-dev \
+    gtk-doc-tools \
+    itstool \
+    lcov \
+    libattr1-dev \
+    libelf-dev \
+    libffi-dev \
+    libgamin-dev \
+    libmount-dev \
+    libpcre2-dev \
+    libselinux1-dev \
+    libxml2-utils \
+    libxslt1-dev \
+    libz3-dev \
+    locales \
+    mingw-w64 \
+    binutils-mingw-w64 \
+    g++-mingw-w64 \
+    gcc-mingw-w64 \
+    libz-mingw-w64 \
+    ninja-build \
+    python3 \
+    python3-pip \
+    python3-setuptools \
+    python3-wheel \
+    systemtap-sdt-dev \
+    unzip \
+    wget \
+    xsltproc \
+    xz-utils \
+    zlib1g-dev \
+ && rm -rf /usr/share/doc/* /usr/share/man/*
+
+# Locale for our build
+RUN locale-gen C.UTF-8 && /usr/sbin/update-locale LANG=C.UTF-8
+
+# Locales for our tests
+RUN locale-gen de_DE.UTF-8 \
+ && locale-gen el_GR.UTF-8 \
+ && locale-gen en_US.UTF-8 \
+ && locale-gen es_ES.UTF-8 \
+ && locale-gen fa_IR.UTF-8 \
+ && locale-gen fr_FR.UTF-8 \
+ && locale-gen hr_HR.UTF-8 \
+ && locale-gen ja_JP.UTF-8 \
+ && locale-gen lt_LT.UTF-8 \
+ && locale-gen pl_PL.UTF-8 \
+ && locale-gen ru_RU.UTF-8 \
+ && locale-gen tr_TR.UTF-8
+
+ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
+
+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
+
+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 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]