diff options
author | Ryan Chu <ryan.chu@qt.io> | 2018-03-06 14:37:35 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-07-02 19:20:21 +0000 |
commit | 2b6f5f165dd91a9983d44c2ba432aadd256541b9 (patch) | |
tree | 9b43c305da21709e1100f8bbc116858174c9fb63 /coin/provisioning/common/linux/testserver/apache2/Dockerfile | |
parent | c6d9e433dfa899890b4279c773779659f8cb2626 (diff) |
Provisioning: Install Docker-based test servers on Ubuntu 16.04
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>
Diffstat (limited to 'coin/provisioning/common/linux/testserver/apache2/Dockerfile')
-rw-r--r-- | coin/provisioning/common/linux/testserver/apache2/Dockerfile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/coin/provisioning/common/linux/testserver/apache2/Dockerfile b/coin/provisioning/common/linux/testserver/apache2/Dockerfile new file mode 100644 index 00000000..b502a008 --- /dev/null +++ b/coin/provisioning/common/linux/testserver/apache2/Dockerfile @@ -0,0 +1,6 @@ +FROM ubuntu:16.04 +RUN apt-get update && apt-get install -y apache2 libcgi-session-perl wget +EXPOSE 80 443 + +# install configurations and test data +RUN wget https://tools.ietf.org/rfc/rfc3252.txt |