Add docker container with xinetd

Needed in the QUdpSocket test for the echo service and in the QSslSocket
test for the daylight service.

Change-Id: Ic7143eb7abd37dbf2c20ddb4b52cdd5ea3f0d193
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
Mårten Nordheim
2019-02-07 16:38:50 +01:00
committed by Timur Pocheptsov
parent ce91433364
commit 9d0022ee44
3 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
FROM ubuntu:16.04
ARG packages="xinetd avahi-daemon"
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
EXPOSE 7 7/UDP 13

View File

@@ -0,0 +1,4 @@
FROM ubuntu:18.04
ARG packages="xinetd avahi-daemon"
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
EXPOSE 7 7/UDP 13

View File

@@ -34,5 +34,5 @@
set -ex
# A list of test servers to be provisioned
testserver='apache2 squid vsftpd ftp-proxy danted'
testserver="$testserver apache2_18.04 squid_18.04 vsftpd_18.04 ftp-proxy_18.04 danted_18.04"
testserver='apache2 squid vsftpd ftp-proxy danted echo'
testserver="$testserver apache2_18.04 squid_18.04 vsftpd_18.04 ftp-proxy_18.04 danted_18.04 echo_18.04"