Skip to content

Commit d3ca869

Browse files
committed
Make tests work again?
1 parent 67f6c3b commit d3ca869

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.devcontainer/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
FROM mcr.microsoft.com/vscode/devcontainers/rust
1+
FROM mcr.microsoft.com/vscode/devcontainers/rust:0.202.9-bullseye
22

33
RUN 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
78
RUN rustup update \
89
&& rustup target add aarch64-unknown-linux-gnu
910

amzn/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM 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
44
ENV PATH="~/.cargo/bin:${PATH}"
55

66
RUN ~/.cargo/bin/rustup update \

amzn/Dockerfile-arm64

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM 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
44
ENV PATH="~/.cargo/bin:${PATH}"
55

66
RUN ~/.cargo/bin/rustup update \

bin/build-arch

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ mkdir -p ./build ./target
1313

1414
cargo build \
1515
--release \
16-
--target "${CRYPTEIA_BUILD_TARGET}"
16+
--target "${CRYPTEIA_BUILD_TARGET}" \
17+
-Z sparse-registry
1718

1819
cp "./target/${CRYPTEIA_BUILD_TARGET}/release/crypteia" "./build/${BIN}"
1920
cp ./target/${CRYPTEIA_BUILD_TARGET}/release/libcrypteia.so "./build/${LIB}"

debian/Dockerfile-arm64

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN apt update && apt-get install -y python3-pip
44
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
55
RUN 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
88
ENV PATH="/root/.cargo/bin:${PATH}"
99

1010
RUN /root/.cargo/bin/rustup update \

0 commit comments

Comments
 (0)