qt-android (5.15.5-3)

Published 2022-08-05 00:20:10 +02:00 by dorian in plugins/qt-android

Installation

docker pull itsblue.dev/plugins/qt-android:5.15.5-3
sha256:c4aeb2069c79a489ec05ec868fc8652a8924e7621a2f2da8263837084b2b4041

Image Layers

ADD file:396eeb65c8d737180cc1219713cf59efb214027b79d8ea0b7e58a08e7c8d7a21 in /
CMD ["bash"]
ARG QT_EVERYWHERE_URL=https://download.qt.io/archive/qt/5.15/5.15.5/single/qt-everywhere-opensource-src-5.15.5.tar.xz
ARG QT_VERSION_FAMILY=5.15
ARG QT_VERSION=5.15.5
ARG ANDROID_PLATFORM_VERSION=android-29
ARG ANDROID_BUILDTOOLS_VERSION=29.0.2
ARG ANDROID_NDK_VERSION=21.3.6528147
ARG OPENSSL_VERSION=1.1.1l_1.0.2u
WORKDIR /workspace
|7 ANDROID_BUILDTOOLS_VERSION=29.0.2 ANDROID_NDK_VERSION=21.3.6528147 ANDROID_PLATFORM_VERSION=android-29 OPENSSL_VERSION=1.1.1l_1.0.2u QT_EVERYWHERE_URL=https://download.qt.io/archive/qt/5.15/5.15.5/single/qt-everywhere-opensource-src-5.15.5.tar.xz QT_VERSION=5.15.5 QT_VERSION_FAMILY=5.15 /bin/sh -c echo "**** setup environment ****" && export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 && export QT_INSTALL_DIR=/usr/lib/qt && export PATH=$QT_INSTALL_DIR/bin:$JAVA_HOME/bin:$PATH && export QT_EVERYWHERE_URL="https://download.qt.io/archive/qt/${QT_VERSION_FAMILY}/${QT_VERSION}/single/qt-everywhere-opensource-src-${QT_VERSION}.tar.xz" && export ANDROID_CLI_TOOLS_URL="https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip" && export ANDROID_OPENSSL_URL="https://github.com/KDAB/android_openssl/archive/refs/tags/${OPENSSL_VERSION}.tar.gz" && echo "**** install dependencies ****" && dpkg --add-architecture i386 && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget openjdk-8-jdk tar xz-utils unzip libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386 make g++ perl python3 git '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev flex bison gperf libicu-dev libxslt-dev ruby libxcursor-dev libxcomposite-dev libxdamage-dev libxrandr-dev libxtst-dev libxss-dev libdbus-1-dev libevent-dev libfontconfig1-dev libcap-dev libpulse-dev libudev-dev libpci-dev libnss3-dev libasound2-dev libegl1-mesa-dev gperf bison nodejs libasound2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-bad1.0-dev && rm -rf /var/lib/apt/lists/* && echo "**** download Qt and android-cli-tools ****" && wget -O qt-everywhere.tar.xz ${QT_EVERYWHERE_URL} && wget -O android-cli-tools.zip ${ANDROID_CLI_TOOLS_URL} && wget -O android_openssl.tar.gz ${ANDROID_OPENSSL_URL} && echo "**** extract Qt and android-cli-tools ****" && mkdir qt-everywhere && tar -xf qt-everywhere.tar.xz --strip-components=1 -C ./qt-everywhere && unzip android-cli-tools.zip && mkdir -p /usr/lib/android-sdk/android_openssl && tar -xf android_openssl.tar.gz --strip-components=1 -C /usr/lib/android-sdk/android_openssl && echo "**** install android sdk ****" && echo "y" | ./cmdline-tools/bin/sdkmanager --sdk_root=/usr/lib/android-sdk --install "platform-tools" "platforms;${ANDROID_PLATFORM_VERSION}" "build-tools;${ANDROID_BUILDTOOLS_VERSION}" "ndk;${ANDROID_NDK_VERSION}" && echo "**** configure Qt ****" && mkdir build-qt && cd build-qt && /workspace/qt-everywhere/configure -prefix $QT_INSTALL_DIR -opensource -confirm-license -release -xplatform android-clang -disable-rpath -nomake tests -nomake examples -android-ndk /usr/lib/android-sdk/ndk/${ANDROID_NDK_VERSION} -android-sdk /usr/lib/android-sdk -no-warnings-are-errors && echo "**** build and install Qt ****" && make -j8 && make install && echo "**** clean up ****" && cd / && rm -rf workspace && echo "**** done ****"
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/qt/bin:/usr/lib/jvm/java-8-openjdk-amd64/bin
ENV ANDROID_HOME=/usr/lib/android-sdk
WORKDIR /src
COPY file:a5d3c2120cec8b0a553f7630a481daae94a57db635d80266d8676f35bee03c0f in /usr/local/bin/qt-build
ENTRYPOINT ["/usr/local/bin/qt-build"]
LABEL org.opencontainers.image.created=2022-08-04T16:37:44Z
LABEL org.opencontainers.image.revision=a69a010c7b6c946d8d4579720599011c35202475
LABEL org.opencontainers.image.source=https://itsblue.dev/plugins/qt-android.git
LABEL org.opencontainers.image.url=https://itsblue.dev/plugins/qt-android

Labels

Key Value
org.opencontainers.image.created 2022-08-04T16:37:44Z
org.opencontainers.image.revision a69a010c7b6c946d8d4579720599011c35202475
org.opencontainers.image.source https://itsblue.dev/plugins/qt-android.git
org.opencontainers.image.url https://itsblue.dev/plugins/qt-android
Details
Container
2022-08-05 00:20:10 +02:00
2
OCI / Docker
linux/amd64
2.5 GiB
Versions (4) View all
5.15.5-4 2023-02-05
5.15.5-3 2022-08-05
5.15.5-2 2022-08-03
5.15.5-1 2022-07-29