automation: Add Ubuntu:focal container

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
Edwin Török authored and Andrew Cooper committed 2021-01-22 14:39:36 +00:00
1 parent cd5058316c
commit eb52442d7f
2 files changed
+49

No files matched your search

+48
View File
@@ -0,0 +1,48 @@
FROM ubuntu:20.04
LABEL maintainer.name="The Xen Project " \
maintainer.email="xen-devel@lists.xenproject.org"
ENV DEBIAN_FRONTEND=noninteractive
ENV USER root
RUN mkdir /build
WORKDIR /build
# build depends
RUN apt-get update && \
apt-get --quiet --yes install \
build-essential \
zlib1g-dev \
libncurses5-dev \
libssl-dev \
python3-dev \
xorg-dev \
uuid-dev \
libyajl-dev \
libaio-dev \
libglib2.0-dev \
clang \
libpixman-1-dev \
pkg-config \
flex \
bison \
gettext \
acpica-tools \
bin86 \
bcc \
liblzma-dev \
libc6-dev-i386 \
libnl-3-dev \
ocaml-nox \
libfindlib-ocaml-dev \
libsystemd-dev \
transfig \
pandoc \
checkpolicy \
wget \
git \
nasm \
&& \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
+1
View File
@@ -28,6 +28,7 @@ case "_${CONTAINER}" in
_centos7) CONTAINER="${BASE}/centos:7" ;;
_centos72) CONTAINER="${BASE}/centos:7.2" ;;
_fedora) CONTAINER="${BASE}/fedora:29";;
_focal) CONTAINER="${BASE}/ubuntu:focal" ;;
_jessie) CONTAINER="${BASE}/debian:jessie" ;;
_stretch|_) CONTAINER="${BASE}/debian:stretch" ;;
_unstable|_) CONTAINER="${BASE}/debian:unstable" ;;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.