Skip to content

Commit

Permalink
update rust to 2024-10-11 (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha authored Oct 11, 2024
1 parent 12f5ccf commit ef235a7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 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-04-15
RUN ./rustup-init.sh -y -c rustfmt --default-toolchain nightly-2024-10-11
ENV PATH="$PATH:/root/.cargo/bin"
RUN rustup target add --toolchain nightly-2024-04-15 x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu
RUN rustup target add --toolchain nightly-2024-10-11 x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu

RUN curl -sSL https://bootstrap.pypa.io/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-04-15
RUN ./rustup-init.sh -y -c rustfmt --default-toolchain nightly-2024-10-11
ENV PATH="$PATH:/root/.cargo/bin"
RUN rustup target add --toolchain nightly-2024-04-15 x86_64-unknown-linux-gnu
RUN rustup target add --toolchain nightly-2024-10-11 x86_64-unknown-linux-gnu
2 changes: 1 addition & 1 deletion 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-04-15
RUN ./rustup-init.sh -y -c rustfmt --default-toolchain nightly-2024-10-11
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-04-15
RUN ./rustup-init.sh -y -c rustfmt -c clippy --default-toolchain nightly-2024-10-11
ENV PATH="/root/.cargo/bin:$PATH"
RUN rustup target add --toolchain nightly-2024-04-15 aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu x86_64-apple-darwin aarch64-apple-darwin
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


# install pip for cargo-zigbuild
Expand Down

0 comments on commit ef235a7

Please sign in to comment.