mirror of https://gitee.com/openkylin/libvirt.git
131 lines
3.0 KiB
Docker
131 lines
3.0 KiB
Docker
FROM fedora:rawhide
|
|
|
|
RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
|
|
dnf update -y && \
|
|
dnf install -y \
|
|
audit-libs-devel \
|
|
augeas \
|
|
autoconf \
|
|
automake \
|
|
avahi-devel \
|
|
bash \
|
|
bash-completion \
|
|
ca-certificates \
|
|
ccache \
|
|
chrony \
|
|
cppi \
|
|
cyrus-sasl-devel \
|
|
dbus-devel \
|
|
device-mapper-devel \
|
|
dnsmasq \
|
|
dwarves \
|
|
ebtables \
|
|
fuse-devel \
|
|
gcc \
|
|
gdb \
|
|
gettext \
|
|
gettext-devel \
|
|
git \
|
|
glib2-devel \
|
|
glibc-devel \
|
|
glibc-langpack-en \
|
|
glusterfs-api-devel \
|
|
gnutls-devel \
|
|
iproute \
|
|
iproute-tc \
|
|
iscsi-initiator-utils \
|
|
kmod \
|
|
libacl-devel \
|
|
libattr-devel \
|
|
libblkid-devel \
|
|
libcap-ng-devel \
|
|
libcurl-devel \
|
|
libiscsi-devel \
|
|
libnl3-devel \
|
|
libpcap-devel \
|
|
libpciaccess-devel \
|
|
librbd-devel \
|
|
libselinux-devel \
|
|
libssh-devel \
|
|
libssh2-devel \
|
|
libtirpc-devel \
|
|
libtool \
|
|
libudev-devel \
|
|
libwsman-devel \
|
|
libxml2 \
|
|
libxml2-devel \
|
|
libxslt \
|
|
lsof \
|
|
lvm2 \
|
|
make \
|
|
meson \
|
|
ncurses-devel \
|
|
net-tools \
|
|
netcf-devel \
|
|
nfs-utils \
|
|
ninja-build \
|
|
numactl-devel \
|
|
numad \
|
|
parted \
|
|
parted-devel \
|
|
patch \
|
|
perl \
|
|
pkgconfig \
|
|
polkit \
|
|
python3 \
|
|
python3-docutils \
|
|
python3-flake8 \
|
|
python3-setuptools \
|
|
python3-wheel \
|
|
qemu-img \
|
|
radvd \
|
|
readline-devel \
|
|
rpcgen \
|
|
rpm-build \
|
|
sanlock-devel \
|
|
screen \
|
|
scrub \
|
|
sheepdog \
|
|
strace \
|
|
sudo \
|
|
systemtap-sdt-devel \
|
|
vim \
|
|
wireshark-devel \
|
|
xen-devel \
|
|
xfsprogs-devel \
|
|
yajl-devel \
|
|
zfs-fuse && \
|
|
dnf autoremove -y && \
|
|
dnf clean all -y && \
|
|
mkdir -p /usr/libexec/ccache-wrappers && \
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-cc && \
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-$(basename /usr/bin/gcc)
|
|
|
|
RUN dnf install -y \
|
|
mingw64-curl \
|
|
mingw64-dbus \
|
|
mingw64-dlfcn \
|
|
mingw64-gcc \
|
|
mingw64-gettext \
|
|
mingw64-glib2 \
|
|
mingw64-gnutls \
|
|
mingw64-libssh2 \
|
|
mingw64-libxml2 \
|
|
mingw64-openssl \
|
|
mingw64-pkg-config \
|
|
mingw64-portablexdr \
|
|
mingw64-readline && \
|
|
dnf clean all -y
|
|
|
|
ENV LANG "en_US.UTF-8"
|
|
|
|
ENV MAKE "/usr/bin/make"
|
|
ENV NINJA "/usr/bin/ninja"
|
|
ENV PYTHON "/usr/bin/python3"
|
|
|
|
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
|
|
|
|
ENV ABI "x86_64-w64-mingw32"
|
|
ENV CONFIGURE_OPTS "--host=x86_64-w64-mingw32"
|
|
ENV MESON_OPTS "--cross-file=/usr/share/mingw/toolchain-mingw64.meson"
|