Mercurial > hg > Docker > qemu-arm
view 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 |
line wrap: on
line source
FROM ubuntu:19.10 RUN apt-get update \ && apt-get install -y wget unzip xz-utils texinfo\ && cd /opt/ \ && 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 \ && xz -d gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar.xz \ && tar -xvf gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar \ && rm -rf gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar \ && 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 \ && xz -d gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar.xz \ && tar -xvf gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar \ && rm -rf gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar RUN apt-get install -y libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev \ && apt-get install -y libaio-dev libbluetooth-dev libbrlapi-dev libbz2-dev \ && apt-get install -y libcap-dev libcap-ng-dev libcurl4-gnutls-dev libgtk-3-dev \ && apt-get install -y libibverbs-dev libjpeg8-dev libncurses5-dev libnuma-dev \ && apt-get install -y librbd-dev librdmacm-dev \ && apt-get install -y libsasl2-dev libsdl1.2-dev libseccomp-dev libsnappy-dev libssh2-1-dev \ && apt-get install -y libvde-dev libvdeplug-dev libvte-2.90-dev libxen-dev liblzo2-dev \ && apt-get install -y valgrind xfslibs-dev \ && apt-get install -y libnfs-dev libiscsi-dev RUN cd /opt/ \ && wget http://download.qemu-project.org/qemu-2.9.0.tar.xz \ && tar xvJf qemu-2.9.0.tar.xz \ && cd qemu-2.9.0 \ && ./configure --target-list=aarch64-softmmu \ && make && make install \ && cd /opt/ \ && wget http://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.xz \ && tar xvJf gdb-7.11.tar.xz \ && cd gdb-7.11\ && ./configure --target=aarch64-linux-gnu \ && make && make install ENV ARM_LINUX_GNUEABIHF /opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- ENV AARCH64_LINUX_GNU /opt/gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- WORKDIR /code/