summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/Dockerfile6
-rw-r--r--docker/keyconfig6
-rwxr-xr-xdocker/setupkolabnowtest.sh5
3 files changed, 16 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 3302f900..b5c80d0d 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -40,7 +40,7 @@ WORKDIR /home/developer/
40# RUN sudo saslauthd -a pam && sudo /usr/libexec/cyrus-imapd/master -d && sleep 1 && sudo echo "cm user.doe" | cyradm --auth PLAIN -u cyrus -w admin localhost 40# RUN sudo saslauthd -a pam && sudo /usr/libexec/cyrus-imapd/master -d && sleep 1 && sudo echo "cm user.doe" | cyradm --auth PLAIN -u cyrus -w admin localhost
41 41
42#DBus For KCacheGrind 42#DBus For KCacheGrind
43RUN sudo dbus-uuidgen --ensure 43RUN dbus-uuidgen --ensure
44 44
45ENV QT_PLUGIN_PATH /install/lib64/plugins/ 45ENV QT_PLUGIN_PATH /install/lib64/plugins/
46ENV LD_LIBRARY_PATH /install/lib64 46ENV LD_LIBRARY_PATH /install/lib64
@@ -51,3 +51,7 @@ ENV XDG_CONFIG_DIRS /install/share/config
51ENV XDG_DATA_DIRS /install/share/:/usr/share 51ENV XDG_DATA_DIRS /install/share/:/usr/share
52RUN mkdir /tmp/runtime-developer 52RUN mkdir /tmp/runtime-developer
53ENV XDG_RUNTIME_DIR /tmp/runtime-developer 53ENV XDG_RUNTIME_DIR /tmp/runtime-developer
54
55ADD keyconfig /home/developer/keyconfig
56ADD setupkolabnowtest.sh /home/developer/setupkolabnowtest.sh
57RUN gpg2 --batch --generate-key /home/developer/keyconfig
diff --git a/docker/keyconfig b/docker/keyconfig
new file mode 100644
index 00000000..7107d010
--- /dev/null
+++ b/docker/keyconfig
@@ -0,0 +1,6 @@
1Key-Type: default
2Subkey-Type: default
3Name-Real: Test1 Kolab
4Name-Email: test1@kolab.org
5Expire-Date: 0
6Passphrase: test1
diff --git a/docker/setupkolabnowtest.sh b/docker/setupkolabnowtest.sh
new file mode 100755
index 00000000..0438ced2
--- /dev/null
+++ b/docker/setupkolabnowtest.sh
@@ -0,0 +1,5 @@
1sinksh create account type kolabnow identifier kolabnowAccount name KolabnowAccount
2sinksh create resource type sink.imap identifier kolabnowImap account kolabnowAccount server imaps://imap.kolabnow.com:993 username test1@kolab.org password Welcome2KolabSystems
3sinksh create resource type sink.mailtransport identifier kolabnowSmtp account kolabnowAccount server smtps://smtp.kolabnow.com:587 username test1@kolab.org password Welcome2KolabSystems
4sinksh create resource type sink.dav identifier kolabnowDav account kolabnowAccount server https://apps.kolabnow.com/addressbooks/test1%40kolab.org username test1@kolab.org password Welcome2KolabSystems
5sinksh create identity name "John Doe" address test1@kolab.org account kolabnowAccount