Skip to content

Commit

Permalink
fix: add WORKDIR to ci dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
PearsonWhite authored and rodrigo-pino committed Oct 16, 2024
1 parent 13c66e9 commit b8a1112
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,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
Expand Down
2 changes: 2 additions & 0 deletions scripts/sequencer-ci.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8a1112

Please sign in to comment.