qemu with hax to log dma reads & writes
jcs.org/2018/11/12/vfio
1#
2# Docker multiarch cross-compiler target
3#
4# This docker target is builds on Debian and Emdebian's cross compiler targets
5# to build distro with a selection of cross compilers for building test binaries.
6#
7# On its own you can't build much but the docker-foo-cross targets
8# build on top of the base debian image.
9#
10FROM debian:jessie-slim
11
12MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
13
14# Duplicate deb line as deb-src
15RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
16
17# Setup some basic tools we need
18RUN apt-get update && \
19 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
20RUN DEBIAN_FRONTEND=noninteractive eatmydata \
21 apt-get install -y --no-install-recommends \
22 bison \
23 binutils-multiarch \
24 build-essential \
25 ca-certificates \
26 clang \
27 curl \
28 flex \
29 gettext \
30 git \
31 gnupg \
32 pkg-config \
33 python-minimal
34
35# Setup Emdebian [emdebian-archive-keyring]
36RUN echo "deb http://emdebian.org/tools/debian/ jessie main" > /etc/apt/sources.list.d/emdebian.list && \
37 curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | apt-key add -