acrn-hypervisor/doc/getting-started/Dockerfile
Geoffroy Van Cutsem 72b1a409bb doc: add new dependency to Clear Linux ACRN builder container
Since commit 9e9e1f61, a new build dependency on the NUMA library has been
introduced. We therefore need to add the `devpkg-numactl` bundle to our
Dockerfile used to build the Clear Linux "ACRN builder" container image.

Tracked-On: #4175
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
2019-12-16 15:34:26 +08:00

44 lines
1.1 KiB
Docker

# Build container based on Clearlinux
FROM clearlinux:base
# Tools (bundles) to build the ACRN hypervisor, Device Model, tools and doc
# - bundles needed to build kernels: bc, lz4, diffutils and devpkg-elfutils, devpkg-ncurses
# - bundles needed to build the documentation: doxygen, graphviz, desktop-apps
RUN swupd update -b && \
swupd bundle-add -b c-basic \
python3-basic \
which \
git \
devpkg-systemd \
devpkg-telemetrics-client \
devpkg-e2fsprogs \
devpkg-libxml2 \
devpkg-openssl \
devpkg-util-linux \
devpkg-libevent \
devpkg-libusb \
devpkg-libpciaccess \
devpkg-gnu-efi \
devpkg-numactl \
bc \
lz4 \
diffutils \
devpkg-elfutils \
doxygen \
rsync \
devpkg-ncurses \
devpkg-graphviz \
desktop-apps \
&& rm -rf /var/lib/swupd/*
RUN pip3 install kconfiglib
# End of section installing build tools (bundles)
# Additional tools (Python) to build the documentation
RUN curl -O https://raw.githubusercontent.com/projectacrn/acrn-hypervisor/master/doc/scripts/requirements.txt && \
pip3 install -r requirements.txt && \
rm requirements.txt
# End of documentation generation tools
WORKDIR /workspace