Skip to content

Commit

Permalink
build: Fix build issues on new node by downgrading rust and fix uid o…
Browse files Browse the repository at this point in the history
…f user
  • Loading branch information
mythsunwind committed Feb 4, 2025
1 parent a20b295 commit 709d872
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY scripts/ubuntu_20.04_dependencies.sh /build/avs
RUN /build/avs/ubuntu_20.04_dependencies.sh

# Needed to workaround JENKINS-38438
RUN chown -R 1001:1001 /build/avs
RUN chown -R 1015:1015 /build/avs

ENV PATH="/build/avs/.cargo/bin:${PATH}"

Expand Down
3 changes: 3 additions & 0 deletions scripts/ubuntu_20.04_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ apt clean
# download the rust toolchain (to build the cryptobox-c dependency)
curl https://sh.rustup.rs -sSf | sh -s -- -y

# Downgrade to rust 1.71.1 to mitigate https://github.com/rust-lang/rust/issues/123285
/build/avs/.cargo/bin/rustup install 1.71.1
/build/avs/.cargo/bin/rustup default 1.71.1-x86_64-unknown-linux-gnu

0 comments on commit 709d872

Please sign in to comment.