Add docker container with toolchain and libraries to build aarch64 binary
This commit is contained in:
45
docker/Dockerfile
Normal file
45
docker/Dockerfile
Normal file
@@ -0,0 +1,45 @@
|
||||
FROM debian/eol:buster-slim
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
ENV TZ=Europe/Brussels
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
RUN apt-get -y update && apt-get -y install \
|
||||
build-essential \
|
||||
# bc \
|
||||
# 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 \
|
||||
libsdl2-dev \
|
||||
libsdl2-image-dev \
|
||||
libavformat-dev \
|
||||
&& 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"]
|
||||
Reference in New Issue
Block a user