Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
d442579a6This file is pinned to the selected release. Download the original to open it in your design tool.
# SPDX-FileCopyrightText: © 2019 Robin Ole Heinemann <robin.ole.heinemann@gmail.com>
# SPDX-License-Identifier: CC-BY-SA-4.0
FROM ubuntu:rolling
RUN echo "Europe/Berlin" > /etc/timezone
RUN apt-get update -q
RUN apt-get install tzdata
RUN dpkg-reconfigure -f noninteractive tzdata
RUN apt-get install -y -q \
curl \
wget \
git \
e2fsprogs \
mtools \
build-essential \
gcc-arm-linux-gnueabi \
libglib2.0-dev \
zlib1g-dev \
dh-autoreconf \
flex \
bison \
dosfstools \
bc \
boxes \
python \
qemu \
qemu-user-static \
binfmt-support \
openssl \
expect \
libssl-dev \
libelf-dev \
device-tree-compiler \
libpixman-1-dev \
rsync \
ncurses-dev \
kmod \
liblz4-tool \
gdb \
btrfs-progs \
gnupg \
nodejs \
npm \
yarnpkg \
fdisk
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && $HOME/.cargo/bin/rustup target add armv7-unknown-linux-musleabihf
RUN curl https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--musl--bleeding-edge-2020.02-2.tar.bz2 | tar -xvj -C /root
ENV PATH="${PATH}:/root/.cargo/bin/:/root/armv7-eabihf--musl--bleeding-edge-2020.02-2/bin/"
COPY qemu-aarch64 /var/lib/binfmts
COPY qemu-arm /var/lib/binfmts