diff mbox series

[XEN,1/3] automation: adding debian:stable container

Message ID 20220301121133.19271-2-anthony.perard@citrix.com (mailing list archive)
State New, archived
Headers show
Series automation: auto-build container, check generated file | expand

Commit Message

Anthony PERARD March 1, 2022, 12:11 p.m. UTC
This container will be used to check that generated source file in the
git repository are up to date.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 automation/build/debian/stable.dockerfile | 53 +++++++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 automation/build/debian/stable.dockerfile
diff mbox series

Patch

diff --git a/automation/build/debian/stable.dockerfile b/automation/build/debian/stable.dockerfile
new file mode 100644
index 0000000000..912c4a5345
--- /dev/null
+++ b/automation/build/debian/stable.dockerfile
@@ -0,0 +1,53 @@ 
+FROM debian:stable
+LABEL maintainer.name="The Xen Project" \
+      maintainer.email="xen-devel@lists.xenproject.org"
+
+RUN useradd -ms /bin/bash user
+ENV DEBIAN_FRONTEND=noninteractive
+
+# build depends
+RUN apt-get update && \
+    apt-get --quiet --yes install \
+        build-essential \
+        autoconf \
+        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 for Xen < 4.13
+        gettext \
+        acpica-tools \
+        bin86 \
+        bcc \
+        liblzma-dev \
+        # libc6-dev-i386 for Xen < 4.15
+        libc6-dev-i386 \
+        libnl-3-dev \
+        ocaml-nox \
+        libfindlib-ocaml-dev \
+        markdown \
+        transfig \
+        pandoc \
+        checkpolicy \
+        wget \
+        git \
+        nasm \
+        gnupg \
+        golang \
+        && \
+        apt-get autoremove -y && \
+        apt-get clean && \
+        rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
+
+USER user
+WORKDIR /build