File tree 5 files changed +7
-5
lines changed
5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- FROM mcr.microsoft.com/vscode/devcontainers/rust
1
+ FROM mcr.microsoft.com/vscode/devcontainers/rust:0.202.9-bullseye
2
2
3
3
RUN sudo apt-get update -y \
4
4
&& sudo apt-get upgrade -y \
5
5
&& sudo apt-get install -y zip ltrace
6
6
7
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
7
8
RUN rustup update \
8
9
&& rustup target add aarch64-unknown-linux-gnu
9
10
Original file line number Diff line number Diff line change 1
1
FROM public.ecr.aws/sam/build-nodejs18.x
2
2
3
- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
3
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
4
4
ENV PATH="~/.cargo/bin:${PATH}"
5
5
6
6
RUN ~/.cargo/bin/rustup update \
Original file line number Diff line number Diff line change 1
1
FROM public.ecr.aws/sam/build-nodejs18.x:latest-arm64
2
2
3
- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
3
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
4
4
ENV PATH="~/.cargo/bin:${PATH}"
5
5
6
6
RUN ~/.cargo/bin/rustup update \
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ mkdir -p ./build ./target
13
13
14
14
cargo build \
15
15
--release \
16
- --target " ${CRYPTEIA_BUILD_TARGET} "
16
+ --target " ${CRYPTEIA_BUILD_TARGET} " \
17
+ -Z sparse-registry
17
18
18
19
cp " ./target/${CRYPTEIA_BUILD_TARGET} /release/crypteia" " ./build/${BIN} "
19
20
cp ./target/${CRYPTEIA_BUILD_TARGET} /release/libcrypteia.so " ./build/${LIB} "
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ RUN apt update && apt-get install -y python3-pip
4
4
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
5
5
RUN update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
6
6
7
- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
7
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
8
8
ENV PATH="/root/.cargo/bin:${PATH}"
9
9
10
10
RUN /root/.cargo/bin/rustup update \
You can’t perform that action at this time.
0 commit comments