2017-07-18 03:31:40 +03:00
|
|
|
#
|
|
|
|
# Docker x86_64 target
|
|
|
|
#
|
2017-07-18 03:31:41 +03:00
|
|
|
# This docker target builds on the debian Stretch base image. Further
|
|
|
|
# libraries which are not widely available are installed by hand.
|
2017-07-18 03:31:40 +03:00
|
|
|
#
|
|
|
|
FROM qemu:debian9
|
|
|
|
MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
|
|
|
|
|
2019-07-23 17:15:27 +03:00
|
|
|
RUN apt update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive eatmydata \
|
|
|
|
apt build-dep -yy qemu
|
2017-07-18 03:31:40 +03:00
|
|
|
|
2019-07-23 17:15:27 +03:00
|
|
|
RUN apt update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive eatmydata \
|
|
|
|
apt install -y --no-install-recommends \
|
2017-07-18 03:31:40 +03:00
|
|
|
libbz2-dev \
|
|
|
|
liblzo2-dev \
|
|
|
|
librdmacm-dev \
|
|
|
|
libsnappy-dev \
|
|
|
|
libvte-dev
|
2017-07-18 03:31:41 +03:00
|
|
|
|
|
|
|
# virgl
|
2019-07-23 17:15:27 +03:00
|
|
|
RUN apt update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive eatmydata \
|
|
|
|
apt install -y --no-install-recommends \
|
2017-07-18 03:31:41 +03:00
|
|
|
libegl1-mesa-dev \
|
|
|
|
libepoxy-dev \
|
|
|
|
libgbm-dev
|
2019-01-03 20:21:51 +03:00
|
|
|
RUN git clone https://anongit.freedesktop.org/git/virglrenderer.git /usr/src/virglrenderer && \
|
|
|
|
cd /usr/src/virglrenderer && git checkout virglrenderer-0.7.0
|
2017-07-18 03:31:41 +03:00
|
|
|
RUN cd /usr/src/virglrenderer && ./autogen.sh && ./configure --with-glx --disable-tests && make install
|
2017-07-18 03:31:42 +03:00
|
|
|
|
|
|
|
# netmap
|
2019-07-23 17:15:27 +03:00
|
|
|
RUN apt update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive eatmydata \
|
|
|
|
apt install -y --no-install-recommends \
|
2017-07-18 03:31:42 +03:00
|
|
|
linux-headers-amd64
|
|
|
|
RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap
|
2019-02-20 14:29:48 +03:00
|
|
|
RUN cd /usr/src/netmap && git checkout v11.3
|
2017-07-18 03:31:42 +03:00
|
|
|
RUN cd /usr/src/netmap/LINUX && ./configure --no-drivers --no-apps --kernel-dir=$(ls -d /usr/src/linux-headers-*-amd64) && make install
|
|
|
|
ENV QEMU_CONFIGURE_OPTS --enable-netmap
|
2017-07-18 03:31:43 +03:00
|
|
|
|
2019-01-09 19:31:02 +03:00
|
|
|
RUN ldconfig
|
|
|
|
|
2017-07-18 03:31:43 +03:00
|
|
|
# gcrypt
|
|
|
|
ENV QEMU_CONFIGURE_OPTS $QEMU_CONFIGURE_OPTS --enable-gcrypt
|