aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/linux/testserver/squid/Dockerfile
diff options
context:
space:
mode:
authorRyan Chu <ryan.chu@qt.io>2018-11-19 16:14:23 +0100
committerLiang Qi <liang.qi@qt.io>2018-11-22 07:57:53 +0000
commit3ae624cd6e945146d5ca34f02e3b54569a83d7e4 (patch)
treeb43f425b61a1ccfb385e3d6164b98d2da92e3242 /coin/provisioning/common/linux/testserver/squid/Dockerfile
parent8437deb21922e880a99562bb94b1835b902ac954 (diff)
Docker Provisioning: Remove the fixed version of package dependencies
Free the dependencies of the specific Ubuntu packages. Ensure that test server is using the latest version of the Ubuntu packages to test network changes. Otherwise, all the docker files need to be manually updated when upgrading to the next Ubuntu version (e.g. 18.04). For debugging purpose, the installed packaged will be listed in the provisioning logs. Change-Id: I38d119d11f33cfd60dc34fcd57ec0fe1615e98f2 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'coin/provisioning/common/linux/testserver/squid/Dockerfile')
-rw-r--r--coin/provisioning/common/linux/testserver/squid/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/coin/provisioning/common/linux/testserver/squid/Dockerfile b/coin/provisioning/common/linux/testserver/squid/Dockerfile
index 0b930bca..f0ed68b3 100644
--- a/coin/provisioning/common/linux/testserver/squid/Dockerfile
+++ b/coin/provisioning/common/linux/testserver/squid/Dockerfile
@@ -1,3 +1,4 @@
FROM ubuntu:16.04
-RUN apt-get update && apt-get install -y squid=3.5.12-1ubuntu7.5 avahi-daemon
+ARG packages="squid avahi-daemon"
+RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
EXPOSE 3128-3130