You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2018/06/16 13:44:13 UTC

[2/3] syncope git commit: [SYNCOPE-1256] Avoid errors after chmod

[SYNCOPE-1256] Avoid errors after chmod


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/409082c4
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/409082c4
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/409082c4

Branch: refs/heads/master
Commit: 409082c4b548a3fe53aa5ed5cbca84e69d047185
Parents: 3a52cc2
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Sat Jun 16 15:43:09 2018 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Sat Jun 16 15:43:32 2018 +0200

----------------------------------------------------------------------
 docker/console/src/main/resources/Dockerfile | 2 +-
 docker/core/src/main/resources/Dockerfile    | 2 +-
 docker/enduser/src/main/resources/Dockerfile | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/409082c4/docker/console/src/main/resources/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/console/src/main/resources/Dockerfile b/docker/console/src/main/resources/Dockerfile
index dbdebb2..9294ae5 100644
--- a/docker/console/src/main/resources/Dockerfile
+++ b/docker/console/src/main/resources/Dockerfile
@@ -26,7 +26,7 @@ COPY *.properties.template /etc/apache-syncope/
 COPY flowable-modeler/ /etc/apache-syncope/flowable-modeler/
 
 COPY build.sh /tmp
-RUN chmod 755 /tmp/build.sh && /tmp/build.sh && rm /tmp/build.sh
+RUN chmod 755 /tmp/build.sh && sync && /tmp/build.sh && rm /tmp/build.sh
 
 COPY startup.sh /sbin
 RUN chmod 755 /sbin/startup.sh

http://git-wip-us.apache.org/repos/asf/syncope/blob/409082c4/docker/core/src/main/resources/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/core/src/main/resources/Dockerfile b/docker/core/src/main/resources/Dockerfile
index 1963405..ae5f045 100644
--- a/docker/core/src/main/resources/Dockerfile
+++ b/docker/core/src/main/resources/Dockerfile
@@ -29,7 +29,7 @@ COPY *.properties /etc/apache-syncope/
 COPY Master.properties.* /etc/apache-syncope/domains/
 
 COPY build.sh /tmp
-RUN chmod 755 /tmp/build.sh && /tmp/build.sh && rm /tmp/build.sh
+RUN chmod 755 /tmp/build.sh && sync && /tmp/build.sh && rm /tmp/build.sh
 
 COPY startup.sh /sbin
 RUN chmod 755 /sbin/startup.sh

http://git-wip-us.apache.org/repos/asf/syncope/blob/409082c4/docker/enduser/src/main/resources/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/enduser/src/main/resources/Dockerfile b/docker/enduser/src/main/resources/Dockerfile
index 2338eae..8875218 100644
--- a/docker/enduser/src/main/resources/Dockerfile
+++ b/docker/enduser/src/main/resources/Dockerfile
@@ -25,7 +25,7 @@ COPY *.deb /tmp/
 COPY *.properties.template /etc/apache-syncope/
 
 COPY build.sh /tmp
-RUN chmod 755 /tmp/build.sh && /tmp/build.sh && rm /tmp/build.sh
+RUN chmod 755 /tmp/build.sh && sync && /tmp/build.sh && rm /tmp/build.sh
 
 COPY startup.sh /sbin
 RUN chmod 755 /sbin/startup.sh