automation: Adding ninja-build to some docker images

This is to allow building the latest version of QEMU.

fedora/29:
    In addition to adding "ninja", I've add to make some other
    changes: some `go build` failed with `mkdir /.cache` no
    permission, so I've created a user.
    (this was discovered while testing the new container with the
    script containerize.)

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Anthony PERARD authored and Andrew Cooper committed 2021-07-08 12:36:21 +01:00
1 parent 484910bf41
commit 34108a27e8
5 files changed
+13 -3

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ RUN \
apk add glib-dev && \
apk add libattr && \
apk add libcap-ng-dev && \
apk add ninja && \
apk add pixman-dev && \
\
# cleanup
+6 -3
View File
@@ -2,9 +2,6 @@ FROM fedora:29
LABEL maintainer.name="The Xen Project" \
maintainer.email="xen-devel@lists.xenproject.org"
RUN mkdir /build
WORKDIR /build
# install Xen depends
RUN dnf -y install \
clang \
@@ -43,5 +40,11 @@ RUN dnf -y install \
ocaml \
ocaml-findlib \
golang \
# QEMU
ninja-build \
&& dnf clean all && \
rm -rf /var/cache/dnf
RUN useradd --create-home user
USER user
WORKDIR /build
@@ -67,5 +67,7 @@ RUN zypper install -y --no-recommends \
which \
xz-devel \
zlib-devel \
# QEMU
ninja \
&& \
zypper clean -a
@@ -45,6 +45,8 @@ RUN apt-get update && \
wget \
git \
nasm \
# QEMU
ninja-build \
&& \
apt-get autoremove -y && \
apt-get clean && \
+2
View File
@@ -44,6 +44,8 @@ RUN apt-get update && \
wget \
git \
nasm \
# QEMU
ninja-build \
&& \
apt-get autoremove -y && \
apt-get clean && \
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.