Skip to content

Commit

Permalink
[buildsystem] add Dockerfile used for build container
Browse files Browse the repository at this point in the history
  • Loading branch information
rroohhh committed Nov 1, 2019
1 parent bd081ba commit c214041
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
FROM ubuntu:19.04
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 \
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
COPY qemu-aarch64 /var/lib/binfmts
COPY qemu-arm /var/lib/binfmts
10 changes: 10 additions & 0 deletions docker/qemu-aarch64
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
qemu-user-static
magic
0
\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00
\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff
/usr/bin/qemu-aarch64-static

yes

yes
10 changes: 10 additions & 0 deletions docker/qemu-arm
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
qemu-user-static
magic
0
\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00
\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff
/usr/bin/qemu-arm-static

yes

yes

0 comments on commit c214041

Please sign in to comment.