MARMOTTA-636: fixed apt check

Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/48b8a9d2
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/48b8a9d2
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/48b8a9d2

Branch: refs/heads/MARMOTTA-584
Commit: 48b8a9d2fe883281a248e9065d7a2f221001a9ce
Parents: 0bcd029
Author: Sergio Fernández <[email protected]>
Authored: Fri Apr 29 17:49:45 2016 +0200
Committer: Sergio Fernández <[email protected]>
Committed: Fri Apr 29 17:49:45 2016 +0200

----------------------------------------------------------------------
 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/48b8a9d2/Dockerfile
----------------------------------------------------------------------
diff --git a/Dockerfile b/Dockerfile
index 33f8d60..78b6bd1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -70,8 +70,8 @@ RUN chown -R tomcat7:tomcat7 "$(dirname $CONF_PATH)"
 # cleanup
 RUN mvn clean \
     && rm -rf ~/.m2 \
-    && apt-get remove maven --purge \
-    && apt-get autoremove \
+    && apt-get remove maven --purge -y \
+    && apt-get autoremove -y \
     && apt-get clean -y \
     && apt-get autoclean -y \
     && apt-get autoremove -y \

Reply via email to