Mercurial > hg > Docker > qemu-arm
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:17e16895dd63 |
---|---|
1 FROM ubuntu:19.10 | |
2 | |
3 RUN apt-get update \ | |
4 && apt-get install -y wget unzip xz-utils texinfo\ | |
5 && cd /opt/ \ | |
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 \ | |
7 && xz -d gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar.xz \ | |
8 && tar -xvf gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar \ | |
9 && rm -rf gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar \ | |
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 \ | |
11 && xz -d gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar.xz \ | |
12 && tar -xvf gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar \ | |
13 && rm -rf gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar | |
14 | |
15 RUN apt-get install -y libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev \ | |
16 && apt-get install -y libaio-dev libbluetooth-dev libbrlapi-dev libbz2-dev \ | |
17 && apt-get install -y libcap-dev libcap-ng-dev libcurl4-gnutls-dev libgtk-3-dev \ | |
18 && apt-get install -y libibverbs-dev libjpeg8-dev libncurses5-dev libnuma-dev \ | |
19 && apt-get install -y librbd-dev librdmacm-dev \ | |
20 && apt-get install -y libsasl2-dev libsdl1.2-dev libseccomp-dev libsnappy-dev libssh2-1-dev \ | |
21 && apt-get install -y libvde-dev libvdeplug-dev libvte-2.90-dev libxen-dev liblzo2-dev \ | |
22 && apt-get install -y valgrind xfslibs-dev \ | |
23 && apt-get install -y libnfs-dev libiscsi-dev | |
24 | |
25 RUN cd /opt/ \ | |
26 && wget http://download.qemu-project.org/qemu-2.9.0.tar.xz \ | |
27 && tar xvJf qemu-2.9.0.tar.xz \ | |
28 && cd qemu-2.9.0 \ | |
29 && ./configure --target-list=aarch64-softmmu \ | |
30 && make && make install \ | |
31 && cd /opt/ \ | |
32 && wget http://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.xz \ | |
33 && tar xvJf gdb-7.11.tar.xz \ | |
34 && cd gdb-7.11\ | |
35 && ./configure --target=aarch64-linux-gnu \ | |
36 && make && make install | |
37 | |
38 ENV ARM_LINUX_GNUEABIHF /opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- | |
39 ENV AARCH64_LINUX_GNU /opt/gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- | |
40 | |
41 WORKDIR /code/ |