Mercurial > hg > Members > anatofuz > docker-debug-qemu
view Dockerfile @ 0:f97c2100be99
add Dockefile
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 21 May 2019 19:03:30 +0900 |
parents | |
children | 715c14368a98 |
line wrap: on
line source
FROM alpine:latest ENV QEMU_VERSION=4.0.0 ENV DOWNLOAD_TOOLS="wget gnupg tar xz" RUN apk update RUN apk add --no-cache ${DOWNLOAD_TOOLS} RUN wget https://download.qemu.org/qemu-4.0.0.tar.xz &&\ tar xvJf qemu-4.0.0.tar.xz ENV BUILD_TOOLS="glib-dev autoconf automake bison flex gcc glib-dev g++ libtool linux-headers make patch python pixman pixman-dev" ENV DEBUG_TOOLS="gdb less" ENV RUNTIME_DEPENDENCIES="glib libstdc++ libbz2" RUN apk add --no-cache --update ${BUILD_TOOLS} &&\ apk add --no-cache --update ${RUNTIME_DEPENDENCIES} &&\ apk add --no-cache --update ${DEBUG_TOOLS} RUN cd qemu-4.0.0 &&\ ./configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu,arm-linux-user --enable-kvm --enable-debug &&\ make -j