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