Mercurial > hg > Members > anatofuz > docker-debug-qemu
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f97c2100be99 |
---|---|
1 FROM alpine:latest | |
2 | |
3 ENV QEMU_VERSION=4.0.0 | |
4 | |
5 ENV DOWNLOAD_TOOLS="wget gnupg tar xz" | |
6 | |
7 RUN apk update | |
8 RUN apk add --no-cache ${DOWNLOAD_TOOLS} | |
9 | |
10 RUN wget https://download.qemu.org/qemu-4.0.0.tar.xz &&\ | |
11 tar xvJf qemu-4.0.0.tar.xz | |
12 | |
13 ENV BUILD_TOOLS="glib-dev autoconf automake bison flex gcc glib-dev g++ libtool linux-headers make patch python pixman pixman-dev" | |
14 ENV DEBUG_TOOLS="gdb less" | |
15 ENV RUNTIME_DEPENDENCIES="glib libstdc++ libbz2" | |
16 | |
17 RUN apk add --no-cache --update ${BUILD_TOOLS} &&\ | |
18 apk add --no-cache --update ${RUNTIME_DEPENDENCIES} &&\ | |
19 apk add --no-cache --update ${DEBUG_TOOLS} | |
20 | |
21 | |
22 RUN cd qemu-4.0.0 &&\ | |
23 ./configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu,arm-linux-user --enable-kvm --enable-debug &&\ | |
24 make -j |