2021-02-07 17:22:22 +00:00
|
|
|
FROM debian:buster-slim
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2023-12-12 01:09:04 +00:00
|
|
|
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 \
|
2021-02-07 17:22:22 +00:00
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
2023-12-12 01:09:04 +00:00
|
|
|
|
|
|
|
RUN curl -s https://sh.rustup.rs | bash -s -- -y --target aarch64-unknown-none-softfloat
|
|
|
|
|
2021-02-07 17:22:22 +00:00
|
|
|
ENV LANG en_US.utf8
|
2023-12-12 01:09:04 +00:00
|
|
|
ENV PATH "/root/.cargo/bin:${PATH}"
|
2021-02-07 17:22:22 +00:00
|
|
|
|
|
|
|
WORKDIR /m1n1
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
CMD ["/bin/bash"]
|