Skip to content

Commit

Permalink
Update rust to 2025-01-22 (#39)
Browse files Browse the repository at this point in the history
* Update rust to 2025-01-15

* Fresher 2025-01-20

* 01-22
  • Loading branch information
meowjesty authored Jan 22, 2025
1 parent f66af55 commit 602d397
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions agent-build/builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ FROM buildpack-deps:buster
RUN apt-get update && apt-get install -y protobuf-compiler gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf gcc-x86-64-linux-gnu clang zip
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
RUN chmod +x rustup-init.sh
RUN ./rustup-init.sh -y -c rustfmt --default-toolchain nightly-2024-10-11
RUN ./rustup-init.sh -y -c rustfmt --default-toolchain nightly-2025-01-22
ENV PATH="$PATH:/root/.cargo/bin"
RUN rustup target add --toolchain nightly-2024-10-11 x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu
RUN rustup target add --toolchain nightly-2025-01-22 x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu

RUN curl -sSL https://bootstrap.pypa.io/pip/3.7/get-pip.py -o get-pip.py && python3 get-pip.py
RUN CARGO_NET_GIT_FETCH_WITH_CLI=true python3 -m pip install cargo-zigbuild
4 changes: 2 additions & 2 deletions docs-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ RUN apt-get update && apt-get install -y protobuf-compiler clang rsync gcc-x86-6

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
RUN chmod +x rustup-init.sh
RUN ./rustup-init.sh -y -c rustfmt --default-toolchain nightly-2024-10-11
RUN ./rustup-init.sh -y -c rustfmt --default-toolchain nightly-2025-01-22
ENV PATH="$PATH:/root/.cargo/bin"
RUN rustup target add --toolchain nightly-2024-10-11 x86_64-unknown-linux-gnu
RUN rustup target add --toolchain nightly-2025-01-22 x86_64-unknown-linux-gnu
4 changes: 2 additions & 2 deletions rust-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ FROM buildpack-deps:bookworm as base
RUN apt-get update && apt-get install -y protobuf-compiler
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
RUN chmod +x rustup-init.sh
RUN ./rustup-init.sh -y -c rustfmt --default-toolchain nightly-2024-10-11
ENV PATH="$PATH:/root/.cargo/bin"
RUN ./rustup-init.sh -y -c rustfmt --default-toolchain nightly-2025-01-22
ENV PATH="$PATH:/root/.cargo/bin"
4 changes: 2 additions & 2 deletions tests-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ SHELL ["/bin/bash", "-c"]
# rust stuff
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
RUN chmod +x rustup-init.sh
RUN ./rustup-init.sh -y -c rustfmt -c clippy --default-toolchain nightly-2024-10-11
RUN ./rustup-init.sh -y -c rustfmt -c clippy --default-toolchain nightly-2025-01-22
ENV PATH="/root/.cargo/bin:$PATH"
RUN rustup target add --toolchain nightly-2024-10-11 aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu x86_64-apple-darwin aarch64-apple-darwin
RUN rustup target add --toolchain nightly-2025-01-22 aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu x86_64-apple-darwin aarch64-apple-darwin


# install pip for cargo-zigbuild
Expand Down

0 comments on commit 602d397

Please sign in to comment.