mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-21 12:26:36 +08:00
Cache maven dependencies for californium build
The fetching from 3rd party repos has become very flaky. To avoid mirrors throttling us and other flaky issues cache the dependencies and set -o to enable offline mode. This seems to also speed up the step considerably. Pick-to: 6.10 6.9 6.8 6.5 Change-Id: I01663e60baa44ab828d8880ab8b346034a50b60e Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
This commit is contained in:
@@ -4,12 +4,13 @@ RUN apt-get update && apt-get -y install $packages
|
||||
|
||||
# Get californium-based CoAP test server
|
||||
WORKDIR /root/src
|
||||
ADD californium-*.tar.gz .
|
||||
ADD californium-3.8.0.tar.gz .
|
||||
RUN mv californium-* californium
|
||||
WORKDIR /root/src/californium
|
||||
ADD qt_changes.patch ./
|
||||
RUN patch -p1 < qt_changes.patch
|
||||
RUN mvn clean install -q -DskipTests
|
||||
ADD californium-m2deps-3.8.0.tar.gz /root
|
||||
RUN mvn clean install -o -q -DskipTests
|
||||
WORKDIR /
|
||||
|
||||
EXPOSE 5683/udp 5684/udp
|
||||
|
||||
Reference in New Issue
Block a user