union-minui/toolchain/Dockerfile
2023-04-14 17:51:40 +02:00

42 lines
No EOL
680 B
Docker

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"]