From c9abd937e8d50bdb9e7b9de345d3e267da588f17 Mon Sep 17 00:00:00 2001 From: Levon Gevorgyan Date: Mon, 11 Aug 2025 17:48:01 -0500 Subject: [PATCH] fix rm -rf --- lib/docker.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/docker.sh b/lib/docker.sh index 0c811a7..437a1b0 100644 --- a/lib/docker.sh +++ b/lib/docker.sh @@ -135,9 +135,9 @@ docker_build_image() { echo 'ENV PATH="/root/.cargo/bin:$PATH"' local cargoInst='' cargoInst+='curl https://sh.rustup.rs -sSf | bash -s -- -y' - cargoInst+='&& rustup update stable' - cargoInst+='&& cargo install cargo-c' - cargoInst+='&& rm -rf "${CARGO_HOME}"/registry "${CARGO_HOME}"/git' + cargoInst+=' && rustup update stable' + cargoInst+=' && cargo install cargo-c' + cargoInst+=' && rm -rf "${CARGO_HOME}"/registry "${CARGO_HOME}"/git' echo "RUN ${cargoInst}" # since any user may run this image, # open up root tools to everyone