Mercurial > hg > Docker > qemu-arm
annotate Dockerfile @ 0:17e16895dd63
copy original dockerfile
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 20 Jun 2019 19:31:18 +0900 |
parents | |
children | 5ce8e9615858 |
rev | line source |
---|---|
0
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 FROM ubuntu:19.10 |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 RUN apt-get update \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4 && apt-get install -y wget unzip xz-utils texinfo\ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
5 && cd /opt/ \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
6 && wget https://releases.linaro.org/components/toolchain/binaries/latest/arm-linux-gnueabihf/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar.xz \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
7 && xz -d gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar.xz \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
8 && tar -xvf gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
9 && rm -rf gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
10 && wget https://releases.linaro.org/components/toolchain/binaries/latest/aarch64-linux-gnu/gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar.xz \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
11 && xz -d gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar.xz \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
12 && tar -xvf gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
13 && rm -rf gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
14 |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
15 RUN apt-get install -y libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
16 && apt-get install -y libaio-dev libbluetooth-dev libbrlapi-dev libbz2-dev \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
17 && apt-get install -y libcap-dev libcap-ng-dev libcurl4-gnutls-dev libgtk-3-dev \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
18 && apt-get install -y libibverbs-dev libjpeg8-dev libncurses5-dev libnuma-dev \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
19 && apt-get install -y librbd-dev librdmacm-dev \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
20 && apt-get install -y libsasl2-dev libsdl1.2-dev libseccomp-dev libsnappy-dev libssh2-1-dev \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
21 && apt-get install -y libvde-dev libvdeplug-dev libvte-2.90-dev libxen-dev liblzo2-dev \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
22 && apt-get install -y valgrind xfslibs-dev \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
23 && apt-get install -y libnfs-dev libiscsi-dev |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
24 |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
25 RUN cd /opt/ \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
26 && wget http://download.qemu-project.org/qemu-2.9.0.tar.xz \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
27 && tar xvJf qemu-2.9.0.tar.xz \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
28 && cd qemu-2.9.0 \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
29 && ./configure --target-list=aarch64-softmmu \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
30 && make && make install \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
31 && cd /opt/ \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
32 && wget http://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.xz \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
33 && tar xvJf gdb-7.11.tar.xz \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
34 && cd gdb-7.11\ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
35 && ./configure --target=aarch64-linux-gnu \ |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
36 && make && make install |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
37 |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
38 ENV ARM_LINUX_GNUEABIHF /opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
39 ENV AARCH64_LINUX_GNU /opt/gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
40 |
17e16895dd63
copy original dockerfile
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
41 WORKDIR /code/ |