JAMES-1765 Fix versions in Spring Dockerfile
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/02d86a46 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/02d86a46 Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/02d86a46 Branch: refs/heads/master Commit: 02d86a46973646dc03881a0657e90608d81b340f Parents: 5dbd229 Author: benwa <btell...@linagora.com> Authored: Fri Jun 30 14:18:18 2017 +0700 Committer: benwa <btell...@linagora.com> Committed: Fri Jun 30 14:18:18 2017 +0700 ---------------------------------------------------------------------- dockerfiles/run/spring/Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/02d86a46/dockerfiles/run/spring/Dockerfile ---------------------------------------------------------------------- diff --git a/dockerfiles/run/spring/Dockerfile b/dockerfiles/run/spring/Dockerfile index 4999cc2..ab0cdb4 100644 --- a/dockerfiles/run/spring/Dockerfile +++ b/dockerfiles/run/spring/Dockerfile @@ -18,18 +18,18 @@ EXPOSE 25 110 143 465 587 993 WORKDIR /root # Get data we need to run James : build results and configuration -ADD destination/james-server-app-3.0.0-RC2-SNAPSHOT-app.zip /root/james-server-app-3.0.0-RC2-SNAPSHOT-app.zip +ADD destination/james-server-app-3.1.0-SNAPSHOT-app.zip /root/james-server-app-3.1.0-SNAPSHOT-app.zip ADD destination/conf /root/conf # Unzip build result -RUN unzip james-server-app-3.0.0-RC2-SNAPSHOT-app.zip +RUN unzip james-server-app-3.1.0-SNAPSHOT-app.zip # Copy configuration. # Warning : we want to use the wrapper.conf file we just compiled. -RUN cp james-server-app-3.0.0-RC2-SNAPSHOT/conf/wrapper.conf . -RUN rm -r james-server-app-3.0.0-RC2-SNAPSHOT/conf/* -RUN cp -r conf/* james-server-app-3.0.0-RC2-SNAPSHOT/conf -RUN cp wrapper.conf james-server-app-3.0.0-RC2-SNAPSHOT/conf +RUN cp james-server-app-3.1.0-SNAPSHOT/conf/wrapper.conf . +RUN rm -r james-server-app-3.1.0-SNAPSHOT/conf/* +RUN cp -r conf/* james-server-app-3.1.0-SNAPSHOT/conf +RUN cp wrapper.conf james-server-app-3.1.0-SNAPSHOT/conf -WORKDIR /root/james-server-app-3.0.0-RC2-SNAPSHOT/bin +WORKDIR /root/james-server-app-3.1.0-SNAPSHOT/bin ENTRYPOINT ["./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-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org