mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 22:17:45 +08:00
Depending on different external URLs makes our provisioning scripts flaky, because they can fail if any one of the external servers goes down. In this patch * the docker images qt_ubuntu_16.04 and qt_ubuntu_18.04 are being built first, they apt-get from the internal ubuntu mirror * all the existing docker images have been rebased to these two images, so they inherit this behavior * images that fetch files from the internet have been modified to not do the fetching themselves; insted URLs are fetched in advance using "DownloadURL" which accepts internal mirrored URLs, and the downloaded files are ADDed to the images with a local copy * previously existing git clone commands have been modified to fetch internally mirrored tarballs Task-number: QTQAINFRA-3343 Change-Id: Ic4640a4f7776e38623edba90f0eba7cb68631223 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
14 lines
341 B
Docker
14 lines
341 B
Docker
FROM qt_ubuntu_18.04
|
|
ARG packages="avahi-daemon maven default-jdk"
|
|
RUN apt-get update && apt-get -y install $packages
|
|
|
|
# Get californium-based CoAP test server
|
|
WORKDIR /root/src
|
|
ADD californium-*.tar.gz .
|
|
RUN mv californium-* californium
|
|
WORKDIR /root/src/californium
|
|
RUN mvn clean install -q -DskipTests
|
|
WORKDIR /
|
|
|
|
EXPOSE 5683/udp 5684/udp
|