build: Add toolchain
This commit is contained in:
parent
3c6310d4e3
commit
6373955e86
17 changed files with 3292 additions and 0 deletions
42
toolchain/Dockerfile
Normal file
42
toolchain/Dockerfile
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
FROM debian:buster-slim
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
ENV TZ=America/New_York
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
RUN apt-get -y update && apt-get -y install \
|
||||
bc \
|
||||
build-essential \
|
||||
bzip2 \
|
||||
bzr \
|
||||
cmake \
|
||||
cmake-curses-gui \
|
||||
cpio \
|
||||
device-tree-compiler \
|
||||
git \
|
||||
imagemagick \
|
||||
libncurses5-dev \
|
||||
locales \
|
||||
make \
|
||||
p7zip-full \
|
||||
rsync \
|
||||
sharutils \
|
||||
scons \
|
||||
tree \
|
||||
unzip \
|
||||
vim \
|
||||
wget \
|
||||
zip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir -p /root/workspace
|
||||
WORKDIR /root
|
||||
|
||||
COPY support .
|
||||
RUN ./build-toolchain.sh
|
||||
RUN cat ./setup-env.sh >> .bashrc
|
||||
|
||||
VOLUME /root/workspace
|
||||
WORKDIR /root/workspace
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue