cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

debian-amd64.docker (1801B)


      1#
      2# Docker x86_64 target
      3#
      4# This docker target builds on the Debian Buster base image. Further
      5# libraries which are not widely available are installed by hand.
      6#
      7FROM qemu/debian10
      8MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
      9
     10RUN apt update && \
     11    DEBIAN_FRONTEND=noninteractive eatmydata \
     12    apt build-dep -yy qemu
     13
     14RUN apt update && \
     15    DEBIAN_FRONTEND=noninteractive eatmydata \
     16    apt install -y --no-install-recommends \
     17        cscope \
     18        genisoimage \
     19        exuberant-ctags \
     20        global \
     21        libbz2-dev \
     22        liblzo2-dev \
     23        libgcrypt20-dev \
     24        libfdt-dev \
     25        librdmacm-dev \
     26        libsasl2-dev \
     27        libsnappy-dev \
     28        libvte-dev \
     29        netcat-openbsd \
     30        openssh-client \
     31        python3-numpy \
     32        python3-opencv \
     33        python3-venv
     34
     35# virgl
     36RUN apt update && \
     37    DEBIAN_FRONTEND=noninteractive eatmydata \
     38    apt install -y --no-install-recommends \
     39        libegl1-mesa-dev \
     40        libepoxy-dev \
     41        libgbm-dev
     42RUN git clone https://gitlab.freedesktop.org/virgl/virglrenderer.git /usr/src/virglrenderer && \
     43    cd /usr/src/virglrenderer && git checkout virglrenderer-0.8.0
     44RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --disable-tests && make install
     45
     46# netmap
     47RUN apt update && \
     48    DEBIAN_FRONTEND=noninteractive eatmydata \
     49    apt install -y --no-install-recommends \
     50        linux-headers-amd64
     51RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap
     52RUN cd /usr/src/netmap && git checkout v11.3
     53RUN cd /usr/src/netmap/LINUX && ./configure --no-drivers --no-apps --kernel-dir=$(ls -d /usr/src/linux-headers-*-amd64) && make install
     54ENV QEMU_CONFIGURE_OPTS --enable-netmap
     55
     56RUN ldconfig
     57
     58# gcrypt
     59ENV QEMU_CONFIGURE_OPTS $QEMU_CONFIGURE_OPTS --enable-gcrypt