Skip to content

Commit

Permalink
update rust
Browse files Browse the repository at this point in the history
  • Loading branch information
ppodolsky committed Jun 24, 2024
1 parent 77e57ef commit c7ae45f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM rust:1.75 as builder
FROM --platform=$BUILDPLATFORM rust:1.79 as builder
RUN apt-get update && apt-get install -y \
g++-x86-64-linux-gnu libc6-dev-amd64-cross \
g++-aarch64-linux-gnu libc6-dev-arm64-cross \
Expand All @@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y \
RUN rustup target add \
x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu armv7-unknown-linux-gnueabihf
RUN rustup toolchain install \
1.75-x86_64-unknown-linux-gnu 1.75-aarch64-unknown-linux-gnu 1.75-armv7-unknown-linux-gnueabihf
1.79-x86_64-unknown-linux-gnu 1.79-aarch64-unknown-linux-gnu 1.79-armv7-unknown-linux-gnueabihf
RUN rustup component add rustfmt
ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-linux-gnu-gcc \
CC_x86_64_unknown_linux_gnu=x86_64-linux-gnu-gcc \
Expand Down

0 comments on commit c7ae45f

Please sign in to comment.