From 593d7a6de46140ce266975693bd3550d3952d434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20No=C3=ABl?= Date: Sun, 28 Apr 2024 12:17:06 +0200 Subject: [PATCH] Fix cleanup of docker image --- docker/Dockerfile | 4 ++-- docker/buildkit/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 95d5681d..0c8dcdb4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -64,7 +64,7 @@ RUN wget https://github.com/sbmlteam/libsbml/archive/refs/tags/v5.20.2.tar.gz \ && make \ && make install \ && cd ../.. \ - && rm -fr libsbml-5.20.2 + && rm -fr libsbml-5.20.2 v5.20.2.tar.gz ## ----------------------------------------------------------------------------------------------- ## Installing MaBoSS from github repo @@ -132,7 +132,7 @@ RUN cp -r /var/webmaboss/node_modules/bootstrap/ /var/webmaboss/static \ # ------------------------------------------------------------------------------------------------- # Cleanup RUN rm -rf /var/lib/apt/lists/* \ - && rm -rf /var/webmaboss/node_modules/* yarn.lock + && rm -rf /var/webmaboss/node_modules/* # Switching to apache user diff --git a/docker/buildkit/Dockerfile b/docker/buildkit/Dockerfile index 95aca26e..1ab66f42 100644 --- a/docker/buildkit/Dockerfile +++ b/docker/buildkit/Dockerfile @@ -64,7 +64,7 @@ RUN wget https://github.com/sbmlteam/libsbml/archive/refs/tags/v5.20.2.tar.gz \ && make \ && make install \ && cd ../.. \ - && rm -fr libsbml-5.20.2 + && rm -fr libsbml-5.20.2 v5.20.2.tar.gz ## ----------------------------------------------------------------------------------------------- ## Installing MaBoSS from github repo @@ -171,7 +171,7 @@ RUN cp -r /var/webmaboss/node_modules/bootstrap/ /var/webmaboss/static \ # ------------------------------------------------------------------------------------------------- # Cleanup RUN rm -rf /var/lib/apt/lists/* \ - && rm -rf /var/webmaboss/node_modules/* yarn.lock + && rm -rf /var/webmaboss/node_modules/* # Switching to apache user