Skip to content

Commit

Permalink
fix: Add user to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
PearsonWhite committed Oct 11, 2024
1 parent 15a92fe commit e7cc7a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

# We start by creating a base image using 'clux/muslrust' with additional required tools.
FROM ubuntu:22.04 AS base
USER worker
WORKDIR /app

COPY scripts/install_build_tools.sh .
Expand Down
3 changes: 1 addition & 2 deletions scripts/dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ function compile_cairo_native_runtime() {
fi

# Then we clone and build the runtime from the repo
git config --global --add safe.directory "*"
$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

0 comments on commit e7cc7a3

Please sign in to comment.