File tree Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 11FROM public.ecr.aws/amazonlinux/amazonlinux:2023
22
3- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
4- ENV PATH="~/.cargo/bin:${PATH}"
5-
6- RUN ~/.cargo/bin/rustup update \
7- && ~/.cargo/bin/rustup target add aarch64-unknown-linux-gnu
8-
9- RUN rustup default stable
10-
113# Install required build dependencies
124RUN dnf install -y gcc openssl-devel python3-pip util-linux && \
135 pip3 install setuptools && \
146 dnf clean all
157
8+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
9+ ENV PATH="/root/.cargo/bin:${PATH}"
10+
11+ RUN /root/.cargo/bin/rustup update \
12+ && /root/.cargo/bin/rustup target add aarch64-unknown-linux-gnu \
13+ && /root/.cargo/bin/rustup default stable
14+
1615ENV CRYPTEIA_BUILD_OS=amzn
1716ENV CRYPTEIA_BUILD_TARGET=x86_64-unknown-linux-gnu
1817
Original file line number Diff line number Diff line change 11FROM public.ecr.aws/amazonlinux/amazonlinux:2023
22
3- RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
4- ENV PATH="~/.cargo/bin:${PATH}"
5-
6- RUN ~/.cargo/bin/rustup update \
7- && ~/.cargo/bin/rustup target add aarch64-unknown-linux-gnu
8-
9- RUN rustup default stable
10-
113# Install required build dependencies
124RUN dnf install -y gcc openssl-devel python3-pip util-linux && \
135 pip3 install setuptools && \
146 dnf clean all
157
8+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
9+ ENV PATH="/root/.cargo/bin:${PATH}"
10+
11+ RUN /root/.cargo/bin/rustup update \
12+ && /root/.cargo/bin/rustup target add aarch64-unknown-linux-gnu \
13+ && /root/.cargo/bin/rustup default stable
14+
1615ENV CRYPTEIA_BUILD_OS=amzn
1716ENV CRYPTEIA_BUILD_TARGET=aarch64-unknown-linux-gnu
You can’t perform that action at this time.
0 commit comments