mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-21 22:23:05 +00:00
docker: install rust toolchain for stage1 builds
Signed-off-by: Davide Cavalca <dcavalca@fedoraproject.org>
This commit is contained in:
parent
58fe1d7f0c
commit
a71c0724db
1 changed files with 5 additions and 1 deletions
|
@ -1,10 +1,14 @@
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y build-essential bash git locales gcc-aarch64-linux-gnu libc6-dev-arm64-cross device-tree-compiler \
|
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 \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
||||||
|
|
||||||
|
RUN curl -s https://sh.rustup.rs | bash -s -- -y --target aarch64-unknown-none-softfloat
|
||||||
|
|
||||||
ENV LANG en_US.utf8
|
ENV LANG en_US.utf8
|
||||||
|
ENV PATH "/root/.cargo/bin:${PATH}"
|
||||||
|
|
||||||
WORKDIR /m1n1
|
WORKDIR /m1n1
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
Loading…
Reference in a new issue