Fix: add missing dependencies
This commit is contained in:
parent
fc81c2602a
commit
1ecdba7917
1 changed files with 10 additions and 1 deletions
11
Dockerfile
11
Dockerfile
|
@ -29,11 +29,20 @@ RUN export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 && \
|
||||||
|
|
||||||
RUN dpkg --add-architecture i386 && \
|
RUN dpkg --add-architecture i386 && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386 make g++
|
DEBIAN_FRONTEND=noninteractive apt-get install -y libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386 make g++ build-dep 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 install libasound2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-bad1.0-dev
|
||||||
|
|
||||||
RUN echo "**** build Qt ****" && \
|
RUN echo "**** build Qt ****" && \
|
||||||
mkdir build-qt && cd build-qt && \
|
mkdir build-qt && cd build-qt && \
|
||||||
/workspace/qt-everywhere/configure -xplatform android-clang -prefix /usr/lib/qt -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 && \
|
/workspace/qt-everywhere/configure -xplatform android-clang -prefix /usr/lib/qt -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 "**** done ****"
|
echo "**** done ****"
|
||||||
|
|
||||||
|
RUN echo "**** build and install Qt ****" && \
|
||||||
|
cd build-qt && \
|
||||||
|
make -j8 && \
|
||||||
|
make install && \
|
||||||
|
echo "**** clean up ****" && \
|
||||||
|
cd /workspace && \
|
||||||
|
rm -rf build-qt && \
|
||||||
|
echo "**** done ****"
|
||||||
|
|
||||||
entrypoint ["bash"]
|
entrypoint ["bash"]
|
||||||
|
|
Loading…
Reference in a new issue