Skip to content

Instantly share code, notes, and snippets.

@MatiasVara
Last active December 1, 2022 09:19
Show Gist options
  • Select an option

  • Save MatiasVara/ba010d4eccff7f4ef8bbbfbd58c48e84 to your computer and use it in GitHub Desktop.

Select an option

Save MatiasVara/ba010d4eccff7f4ef8bbbfbd58c48e84 to your computer and use it in GitHub Desktop.
This Dockerfile builds Xen-4.15 for Ubuntu Bionic (18.04)
FROM ubuntu:bionic
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && apt-get install build-essential bcc wget ftp bin86 gawk bridge-utils iproute2 libcurl4 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended pciutils-dev mercurial make gcc libc6-dev zlib1g-dev python python-dev python-twisted libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg-dev python3-dev libnl-3-dev libnl-cli-3-dev libnl-genl-3-dev libnl-route-3-dev libnl-idiag-3-dev libnl-xfrm-3-dev iasl libbz2-dev e2fslibs-dev git-core uuid-dev ocaml ocaml-findlib libx11-dev bison flex xz-utils libyajl-dev gettext libpixman-1-dev libaio-dev markdown pandoc iasl cmake figlet libc6-dev-i386 lzma lzma-dev liblzma-dev libsystemd-dev libzstd1-dev ninja-build -y
RUN cd ~/ && git clone git://xenbits.xen.org/xen.git && cd xen && git checkout origin/stable-4.15 -b testbranch && ./configure --enable-systemd && make debball
@MatiasVara
Copy link
Copy Markdown
Author

This builds by issuing sudo docker build -t xenfor4.15-bionic:v1 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment