diff --git a/scripts/dependencies.sh b/scripts/dependencies.sh index 018b9620e2..18addc8ee5 100755 --- a/scripts/dependencies.sh +++ b/scripts/dependencies.sh @@ -66,7 +66,7 @@ function compile_cairo_native_runtime() { fi # Then we clone and build the runtime from the repo - $SUDO git clone https://github.com/lambdaclass/cairo_native.git + git clone https://github.com/lambdaclass/cairo_native.git pushd ./cairo_native || exit 1 git switch v0.2.0-alpha.2 --detach cargo build -p cairo-native-runtime --release --all-features --quiet diff --git a/scripts/sequencer-ci.Dockerfile b/scripts/sequencer-ci.Dockerfile index 77a9902dff..d27157f4b5 100644 --- a/scripts/sequencer-ci.Dockerfile +++ b/scripts/sequencer-ci.Dockerfile @@ -12,6 +12,8 @@ RUN echo "%${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/d USER ${USERNAME} +WORKDIR /app + ENV RUSTUP_HOME=/var/tmp/rust ENV CARGO_HOME=${RUSTUP_HOME} ENV PATH=$PATH:${RUSTUP_HOME}/bin