Initial commit
Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
commit
adbe503f0a
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
FROM ubuntu:jammy
|
||||
|
||||
ENV TOOLCHAIN_VERSION="12.2.mpacbti-rel1"
|
||||
|
||||
ADD https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu/${TOOLCHAIN_VERSION}/binrel/arm-gnu-toolchain-${TOOLCHAIN_VERSION}-x86_64-arm-none-eabi.tar.xz /opt/toolchain.tar.xz
|
||||
|
||||
RUN sed -ie 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential cmake xz-utils
|
||||
|
||||
RUN tar -xf /opt/toolchain.tar.xz --strip-components 1 -C /usr/local
|
||||
|
||||
RUN rm /opt/toolchain.tar.xz
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user