File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Expand file tree Collapse file tree 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
22
33RUN sudo apt-get update -y \
44 && sudo apt-get upgrade -y \
55 && sudo apt-get install -y zip ltrace
66
7+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
78RUN rustup update \
89 && rustup target add aarch64-unknown-linux-gnu
910
Original file line number Diff line number Diff line change 11FROM public.ecr.aws/sam/build-nodejs18.x
22
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
44ENV PATH="~/.cargo/bin:${PATH}"
55
66RUN ~/.cargo/bin/rustup update \
Original file line number Diff line number Diff line change 11FROM public.ecr.aws/sam/build-nodejs18.x:latest-arm64
22
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
44ENV PATH="~/.cargo/bin:${PATH}"
55
66RUN ~/.cargo/bin/rustup update \
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ mkdir -p ./build ./target
1313
1414cargo build \
1515 --release \
16- --target " ${CRYPTEIA_BUILD_TARGET} "
16+ --target " ${CRYPTEIA_BUILD_TARGET} " \
17+ -Z sparse-registry
1718
1819cp " ./target/${CRYPTEIA_BUILD_TARGET} /release/crypteia" " ./build/${BIN} "
1920cp ./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
44RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
55RUN update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
66
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
88ENV PATH="/root/.cargo/bin:${PATH}"
99
1010RUN /root/.cargo/bin/rustup update \
You can’t perform that action at this time.
0 commit comments