aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/linux/testserver/vsftpd/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/vsftpd/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/vsftpd/Dockerfile')
-rw-r--r--coin/provisioning/common/linux/testserver/vsftpd/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/coin/provisioning/common/linux/testserver/vsftpd/Dockerfile b/coin/provisioning/common/linux/testserver/vsftpd/Dockerfile
index f8e32d40..af6cd7c7 100644
--- a/coin/provisioning/common/linux/testserver/vsftpd/Dockerfile
+++ b/coin/provisioning/common/linux/testserver/vsftpd/Dockerfile
@@ -1,5 +1,6 @@
FROM ubuntu:16.04
-RUN apt-get update && apt-get install -y vsftpd=3.0.3-3ubuntu2 ftp=0.17-33 wget avahi-daemon
+ARG packages="vsftpd ftp wget avahi-daemon"
+RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
EXPOSE 20-21
# install configurations and test data