Skip to content

Commit

Permalink
Fix cleanup of docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-noel committed Apr 28, 2024
1 parent b043e58 commit 593d7a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker/buildkit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 593d7a6

Please sign in to comment.