james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rouaz...@apache.org
Subject [01/13] james-project git commit: JAMES-1858: We init data via Guice, no Spring for now
Date Wed, 07 Dec 2016 08:53:29 GMT
Repository: james-project
Updated Branches:
  refs/heads/master a816b1269 -> 290fd5193


JAMES-1858: We init data via Guice, no Spring for now


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/290fd519
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/290fd519
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/290fd519

Branch: refs/heads/master
Commit: 290fd51936a5873f56994549a9ce1f2acae56eee
Parents: 85f5c11
Author: Quynh Nguyen <qnguyen@linagora.com>
Authored: Thu Nov 24 17:26:56 2016 +0700
Committer: Quynh Nguyen <qnguyen@linagora.com>
Committed: Wed Dec 7 14:03:53 2016 +0700

----------------------------------------------------------------------
 dockerfiles/run/spring/provisioned/Dockerfile   | 20 --------------------
 .../run/spring/provisioned/initialdata.sh       | 10 ----------
 dockerfiles/run/spring/provisioned/startup.sh   |  5 -----
 3 files changed, 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/290fd519/dockerfiles/run/spring/provisioned/Dockerfile
----------------------------------------------------------------------
diff --git a/dockerfiles/run/spring/provisioned/Dockerfile b/dockerfiles/run/spring/provisioned/Dockerfile
deleted file mode 100644
index f6f8f47..0000000
--- a/dockerfiles/run/spring/provisioned/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-# Run James
-#
-# VERSION	1.0
-
-FROM linagora/james-jpa-spring
-
-WORKDIR /root
-
-RUN git clone https://github.com/vishnubob/wait-for-it.git wait-for-it
-RUN cp /root/wait-for-it/wait-for-it.sh /usr/bin/wait-for-it.sh
-
-COPY startup.sh /root/james-server-app-3.0.0-beta6-SNAPSHOT/bin
-COPY initialdata.sh /root/james-server-app-3.0.0-beta6-SNAPSHOT/bin
-
-RUN chmod +x /root/james-server-app-3.0.0-beta6-SNAPSHOT/bin/startup.sh
-RUN chmod +x /root/james-server-app-3.0.0-beta6-SNAPSHOT/bin/initialdata.sh
-
-WORKDIR /root/james-server-app-3.0.0-beta6-SNAPSHOT/bin
-
-ENTRYPOINT ["./startup.sh"]

http://git-wip-us.apache.org/repos/asf/james-project/blob/290fd519/dockerfiles/run/spring/provisioned/initialdata.sh
----------------------------------------------------------------------
diff --git a/dockerfiles/run/spring/provisioned/initialdata.sh b/dockerfiles/run/spring/provisioned/initialdata.sh
deleted file mode 100644
index 5d0805f..0000000
--- a/dockerfiles/run/spring/provisioned/initialdata.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-./james-cli.sh -h localhost -p 9999 adddomain james.local
-./james-cli.sh -h localhost -p 9999 adduser user01@james.local 1234
-./james-cli.sh -h localhost -p 9999 adduser user02@james.local 1234
-./james-cli.sh -h localhost -p 9999 adduser user03@james.local 1234
-
-
-
-

http://git-wip-us.apache.org/repos/asf/james-project/blob/290fd519/dockerfiles/run/spring/provisioned/startup.sh
----------------------------------------------------------------------
diff --git a/dockerfiles/run/spring/provisioned/startup.sh b/dockerfiles/run/spring/provisioned/startup.sh
deleted file mode 100644
index e2bd972..0000000
--- a/dockerfiles/run/spring/provisioned/startup.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-wait-for-it.sh --host=localhost --port=9999 --strict --timeout=0 -- ./initialdata.sh &
-
-./wrapper-linux-x86-64 ../conf/wrapper.conf wrapper.syslog.ident=james wrapper.pidfile=../var/james.pid
wrapper.daemonize=FALSE


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message