Commit ac50c3e 1 parent 89c85ce commit ac50c3e Copy full SHA for ac50c3e
File tree 5 files changed +6
-25
lines changed
5 files changed +6
-25
lines changed Original file line number Diff line number Diff line change 1
1
# This Dockerfile supports both native building and cross-compilation to x86-64, aarch64 and riscv64
2
2
FROM --platform=$BUILDPLATFORM ubuntu:22.04
3
3
4
- ARG RUSTC_VERSION=nightly-2024-12-24
5
4
ARG PROFILE=production
6
5
ARG RUSTFLAGS
7
6
# Incremental compilation here isn't helpful
51
50
libc6-dev-amd64-cross \
52
51
; fi
53
52
54
- RUN \
55
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $RUSTC_VERSION && \
56
- /root/.cargo/bin/rustup target add wasm32-unknown-unknown && \
57
- /root/.cargo/bin/rustup component add rust-src --toolchain $RUSTC_VERSION
53
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
58
54
59
55
# Up until this line all Rust images in this repo should be the same to share the same layers
60
56
Original file line number Diff line number Diff line change 1
1
# This Dockerfile supports both native building and cross-compilation to x86-64, aarch64 and riscv64
2
2
FROM --platform=$BUILDPLATFORM ubuntu:22.04
3
3
4
- ARG RUSTC_VERSION=nightly-2024-12-24
5
4
ARG PROFILE=production
6
5
ARG RUSTFLAGS
7
6
# Incremental compilation here isn't helpful
51
50
libc6-dev-amd64-cross \
52
51
; fi
53
52
54
- RUN \
55
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $RUSTC_VERSION && \
56
- /root/.cargo/bin/rustup target add wasm32-unknown-unknown && \
57
- /root/.cargo/bin/rustup component add rust-src --toolchain $RUSTC_VERSION
53
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
58
54
59
55
# Up until this line all Rust images in this repo should be the same to share the same layers
60
56
Original file line number Diff line number Diff line change 1
1
# This Dockerfile supports both native building and cross-compilation to x86-64, aarch64 and riscv64
2
2
FROM --platform=$BUILDPLATFORM ubuntu:22.04
3
3
4
- ARG RUSTC_VERSION=nightly-2024-12-24
5
4
ARG PROFILE=production
6
5
ARG RUSTFLAGS
7
6
# Incremental compilation here isn't helpful
51
50
libc6-dev-amd64-cross \
52
51
; fi
53
52
54
- RUN \
55
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $RUSTC_VERSION && \
56
- /root/.cargo/bin/rustup target add wasm32-unknown-unknown && \
57
- /root/.cargo/bin/rustup component add rust-src --toolchain $RUSTC_VERSION
53
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
58
54
59
55
# Up until this line all Rust images in this repo should be the same to share the same layers
60
56
Original file line number Diff line number Diff line change 1
1
# This Dockerfile supports both native building and cross-compilation to x86-64, aarch64 and riscv64
2
2
FROM --platform=$BUILDPLATFORM ubuntu:22.04
3
3
4
- ARG RUSTC_VERSION=nightly-2024-12-24
5
4
ARG PROFILE=production
6
5
ARG RUSTFLAGS
7
6
# Incremental compilation here isn't helpful
51
50
libc6-dev-amd64-cross \
52
51
; fi
53
52
54
- RUN \
55
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $RUSTC_VERSION && \
56
- /root/.cargo/bin/rustup target add wasm32-unknown-unknown && \
57
- /root/.cargo/bin/rustup component add rust-src --toolchain $RUSTC_VERSION
53
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
54
+
58
55
# Up until this line all Rust images in this repo should be the same to share the same layers
59
56
60
57
COPY . /code
Original file line number Diff line number Diff line change 1
1
# This Dockerfile supports both native building and cross-compilation to x86-64, aarch64 and riscv64
2
2
FROM --platform=$BUILDPLATFORM ubuntu:22.04
3
3
4
- ARG RUSTC_VERSION=nightly-2024-12-24
5
4
ARG PROFILE=production
6
5
ARG RUSTFLAGS
7
6
# Incremental compilation here isn't helpful
51
50
libc6-dev-amd64-cross \
52
51
; fi
53
52
54
- RUN \
55
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $RUSTC_VERSION && \
56
- /root/.cargo/bin/rustup target add wasm32-unknown-unknown && \
57
- /root/.cargo/bin/rustup component add rust-src --toolchain $RUSTC_VERSION
53
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
58
54
59
55
# Up until this line all Rust images in this repo should be the same to share the same layers
60
56
You can’t perform that action at this time.
0 commit comments