Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make rust installation universal for all users #68

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions images/llvm_runner/ubuntu22-llvm15.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ RUN update-alternatives --install \
update-alternatives --config gcc

# Install Rust
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y

# Set required environment variables
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
CARGO_NET_GIT_FETCH_WITH_CLI=true \
PATH=/usr/lib/llvm-15/bin:/usr/local/cargo/bin:${PATH} \
PATH=/usr/local/cargo/bin:$PATH
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y

# Set required environment variables
ENV PATH=/usr/lib/llvm-15/bin:${PATH} \
LD_LIBRARY_PATH=/usr/lib/llvm-15/lib:${LD_LIBRARY_PATH} \
LLVM_VERSION=15 \
CI_RUNNING=true