mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Build and cache docker images based on the configurations in testserver. 1. Download and install the docker engine and docker-compose extension. 2. Append address and hostname of test servers to CI environment. 3. Build and tag the docker images by the SHA-1 of server context. Task-number: QTQAINFRA-1686 Change-Id: Ib9b58d45856682ddec04af045e1eab18e14a85fb Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
10 lines
360 B
Docker
10 lines
360 B
Docker
FROM ubuntu:16.04
|
|
RUN apt-get update && apt-get install -y gdebi-core=0.9.5.7ubuntu1 wget
|
|
RUN wget http://ppa.launchpad.net/dajhorn/dante/ubuntu/pool/main/d/dante/dante-server_1.4.1-1_amd64.deb
|
|
RUN gdebi -n dante-server_1.4.1-1_amd64.deb
|
|
EXPOSE 1080-1081
|
|
|
|
# install configurations and test data
|
|
COPY danted /etc/init.d/
|
|
COPY danted-authenticating /etc/init.d/
|