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-native.docker (1406B)


      1#
      2# Docker Debian Native
      3#
      4# This this intended to build QEMU on native host systems. Debian is
      5# chosen due to the broadest range on supported host systems for QEMU.
      6#
      7# This docker target is based on the docker.io Debian Bullseye base
      8# image rather than QEMU's base because we would otherwise confuse the
      9# build grabbing stuff from the registry built for other
     10# architectures.
     11#
     12FROM docker.io/library/debian:bullseye-slim
     13MAINTAINER Alex Bennée <alex.bennee@linaro.org>
     14
     15# Duplicate deb line as deb-src
     16RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
     17
     18# Install common build utilities
     19RUN apt update && \
     20    DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
     21
     22RUN apt update && \
     23    DEBIAN_FRONTEND=noninteractive eatmydata \
     24    apt build-dep -yy --arch-only qemu
     25
     26RUN apt update && \
     27    DEBIAN_FRONTEND=noninteractive eatmydata \
     28    apt install -y --no-install-recommends \
     29        cscope \
     30        genisoimage \
     31        exuberant-ctags \
     32        global \
     33        libbz2-dev \
     34        liblzo2-dev \
     35        libgcrypt20-dev \
     36        libfdt-dev \
     37        librdmacm-dev \
     38        libsasl2-dev \
     39        libsnappy-dev \
     40        libvte-dev \
     41        netcat-openbsd \
     42        ninja-build \
     43        openssh-client \
     44        python3-numpy \
     45        python3-opencv \
     46        python3-venv
     47
     48ENV QEMU_CONFIGURE_OPTS $QEMU_CONFIGURE_OPTS
     49ENV DEF_TARGET_LIST "none"