Add docker container with Cyrus

For its imap server, needed in various tests

Change-Id: I7ad11342f362392edec2f15c781f4c48deeeff30
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
Mårten Nordheim
2019-02-12 17:11:01 +01:00
committed by Liang Qi
parent 9d0022ee44
commit 03a0872a34
3 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
FROM ubuntu:16.04
ARG packages="cyrus-imapd avahi-daemon"
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $packages && dpkg -l $packages
EXPOSE 143 993

View File

@@ -0,0 +1,4 @@
FROM ubuntu:18.04
ARG packages="cyrus-imapd avahi-daemon"
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $packages && dpkg -l $packages
EXPOSE 143 993

View File

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