Correct 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/61c2ad8b Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/61c2ad8b Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/61c2ad8b Branch: refs/heads/master Commit: 61c2ad8be2b8505ed986a426b7827b0c2fceec9a Parents: f0992cc Author: benwa <[email protected]> Authored: Thu May 11 17:28:40 2017 +0700 Committer: benwa <[email protected]> Committed: Thu May 11 17:28:40 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/61c2ad8b/dockerfiles/run/spring/Dockerfile ---------------------------------------------------------------------- diff --git a/dockerfiles/run/spring/Dockerfile b/dockerfiles/run/spring/Dockerfile index 19da257..4999cc2 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-beta6-SNAPSHOT-app.zip /root/james-server-app-3.0.0-beta6-SNAPSHOT-app.zip +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/conf /root/conf # Unzip build result -RUN unzip james-server-app-3.0.0-beta6-SNAPSHOT-app.zip +RUN unzip james-server-app-3.0.0-RC2-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-beta6-SNAPSHOT/conf/wrapper.conf . -RUN rm -r james-server-app-3.0.0-beta6-SNAPSHOT/conf/* -RUN cp -r conf/* james-server-app-3.0.0-beta6-SNAPSHOT/conf -RUN cp wrapper.conf james-server-app-3.0.0-beta6-SNAPSHOT/conf +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 -WORKDIR /root/james-server-app-3.0.0-beta6-SNAPSHOT/bin +WORKDIR /root/james-server-app-3.0.0-RC2-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: [email protected] For additional commands, e-mail: [email protected]
