diff --git a/docker/Dockerfile.ci b/docker/Dockerfile.ci index d41351407e6..769cae6e2cc 100644 --- a/docker/Dockerfile.ci +++ b/docker/Dockerfile.ci @@ -212,7 +212,7 @@ RUN \ && make install -j$(nproc) \ && if [ "${PACKAGE}" = "ON" ]; then make package; fi \ && if [ "${PACKAGE}" = "VIEWER" ]; then make package-Open3DViewer-deb; fi \ - && if [ "${CI:-}a" != "a" ]; then ls | grep -Ev '^bin$\|^lib$' | xargs rm -rf ; fi + && if [ "${CI:-}a" != "a" ]; then ls | grep -Ev '^bin$|^lib$|^package' | xargs rm -rf ; fi # If CI is not null or unset, remove all build folders except bin and lib to save disk space # Compress ccache folder, move to / directory