From 379cdd9c37ce381efa58e00016f7349f12aed22e Mon Sep 17 00:00:00 2001 From: Albert DeFusco Date: Tue, 12 Jan 2021 20:42:25 -0500 Subject: [PATCH] clean first to avoid problems since the incremental/save-artifact features are in use we could encounter issues with building envs from intermediate states rather than literally from the spec. --- s2i/bin/assemble | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/s2i/bin/assemble b/s2i/bin/assemble index 63799d0..beaa01d 100755 --- a/s2i/bin/assemble +++ b/s2i/bin/assemble @@ -31,5 +31,6 @@ echo "---> Copying project..." cp -Rf /tmp/src/. ./ echo "---> Preparing environment for command $CMD..." +anaconda-project clean anaconda-project --verbose prepare --command $CMD -conda clean --all --yes \ No newline at end of file +conda clean --all --yes