Skip to content

Commit a71c072

Browse files
davide125marcan
authored andcommitted
docker: install rust toolchain for stage1 builds
Signed-off-by: Davide Cavalca <[email protected]>
1 parent 58fe1d7 commit a71c072

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
FROM debian:buster-slim
22
ENV DEBIAN_FRONTEND=noninteractive
33

4-
RUN apt-get update && apt-get install -y build-essential bash git locales gcc-aarch64-linux-gnu libc6-dev-arm64-cross device-tree-compiler \
4+
RUN apt-get update && apt-get install -y build-essential bash curl git locales gcc-aarch64-linux-gnu libc6-dev-arm64-cross device-tree-compiler \
55
&& rm -rf /var/lib/apt/lists/* \
66
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
7+
8+
RUN curl -s https://sh.rustup.rs | bash -s -- -y --target aarch64-unknown-none-softfloat
9+
710
ENV LANG en_US.utf8
11+
ENV PATH "/root/.cargo/bin:${PATH}"
812

913
WORKDIR /m1n1
1014
COPY . .

0 commit comments

Comments
 (0)