From b87099411a5a23572c5160adfa09e2ef2b882705 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 22 Nov 2017 16:45:59 +0100 Subject: Setup key with docker --- docker/Dockerfile | 6 +++++- docker/keyconfig | 6 ++++++ docker/setupkolabnowtest.sh | 5 +++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 docker/keyconfig create mode 100755 docker/setupkolabnowtest.sh (limited to 'docker') 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/ # 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 #DBus For KCacheGrind -RUN sudo dbus-uuidgen --ensure +RUN dbus-uuidgen --ensure ENV QT_PLUGIN_PATH /install/lib64/plugins/ ENV LD_LIBRARY_PATH /install/lib64 @@ -51,3 +51,7 @@ ENV XDG_CONFIG_DIRS /install/share/config ENV XDG_DATA_DIRS /install/share/:/usr/share RUN mkdir /tmp/runtime-developer ENV XDG_RUNTIME_DIR /tmp/runtime-developer + +ADD keyconfig /home/developer/keyconfig +ADD setupkolabnowtest.sh /home/developer/setupkolabnowtest.sh +RUN 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 @@ +Key-Type: default +Subkey-Type: default +Name-Real: Test1 Kolab +Name-Email: test1@kolab.org +Expire-Date: 0 +Passphrase: 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 @@ +sinksh create account type kolabnow identifier kolabnowAccount name KolabnowAccount +sinksh create resource type sink.imap identifier kolabnowImap account kolabnowAccount server imaps://imap.kolabnow.com:993 username test1@kolab.org password Welcome2KolabSystems +sinksh create resource type sink.mailtransport identifier kolabnowSmtp account kolabnowAccount server smtps://smtp.kolabnow.com:587 username test1@kolab.org password Welcome2KolabSystems +sinksh create resource type sink.dav identifier kolabnowDav account kolabnowAccount server https://apps.kolabnow.com/addressbooks/test1%40kolab.org username test1@kolab.org password Welcome2KolabSystems +sinksh create identity name "John Doe" address test1@kolab.org account kolabnowAccount -- cgit v1.2.3