diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-11-22 16:45:59 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-11-22 16:45:59 +0100 |
commit | b87099411a5a23572c5160adfa09e2ef2b882705 (patch) | |
tree | 82306295d1c949fa32bbbaa3a83de1f7efc0e558 /docker | |
parent | 70a93ce0d76489db8a3d2245db2b9765f73bb51d (diff) | |
download | kube-b87099411a5a23572c5160adfa09e2ef2b882705.tar.gz kube-b87099411a5a23572c5160adfa09e2ef2b882705.zip |
Setup key with docker
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 6 | ||||
-rw-r--r-- | docker/keyconfig | 6 | ||||
-rwxr-xr-x | docker/setupkolabnowtest.sh | 5 |
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 |
43 | RUN sudo dbus-uuidgen --ensure | 43 | RUN dbus-uuidgen --ensure |
44 | 44 | ||
45 | ENV QT_PLUGIN_PATH /install/lib64/plugins/ | 45 | ENV QT_PLUGIN_PATH /install/lib64/plugins/ |
46 | ENV LD_LIBRARY_PATH /install/lib64 | 46 | ENV LD_LIBRARY_PATH /install/lib64 |
@@ -51,3 +51,7 @@ ENV XDG_CONFIG_DIRS /install/share/config | |||
51 | ENV XDG_DATA_DIRS /install/share/:/usr/share | 51 | ENV XDG_DATA_DIRS /install/share/:/usr/share |
52 | RUN mkdir /tmp/runtime-developer | 52 | RUN mkdir /tmp/runtime-developer |
53 | ENV XDG_RUNTIME_DIR /tmp/runtime-developer | 53 | ENV XDG_RUNTIME_DIR /tmp/runtime-developer |
54 | |||
55 | ADD keyconfig /home/developer/keyconfig | ||
56 | ADD setupkolabnowtest.sh /home/developer/setupkolabnowtest.sh | ||
57 | 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 @@ | |||
1 | Key-Type: default | ||
2 | Subkey-Type: default | ||
3 | Name-Real: Test1 Kolab | ||
4 | Name-Email: test1@kolab.org | ||
5 | Expire-Date: 0 | ||
6 | 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 @@ | |||
1 | sinksh create account type kolabnow identifier kolabnowAccount name KolabnowAccount | ||
2 | sinksh create resource type sink.imap identifier kolabnowImap account kolabnowAccount server imaps://imap.kolabnow.com:993 username test1@kolab.org password Welcome2KolabSystems | ||
3 | sinksh create resource type sink.mailtransport identifier kolabnowSmtp account kolabnowAccount server smtps://smtp.kolabnow.com:587 username test1@kolab.org password Welcome2KolabSystems | ||
4 | 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 | ||
5 | sinksh create identity name "John Doe" address test1@kolab.org account kolabnowAccount | ||