#!/bin/bash
set -e -x

dnf install -y \
	diffutils \
	findutils \
	gawk \
	gcc \
	git \
	gnutls-devel \
	gzip \
	iproute \
	iptables \
	nftables \
	nftables-devel \
	libaio-devel \
	libasan \
	libcap-devel \
	libnet-devel \
	libnl3-devel \
	libbsd-devel \
	libselinux-utils \
	make \
	procps-ng \
	protobuf-c-devel \
	protobuf-devel \
	python3-PyYAML \
	python3-protobuf \
	python3-junit_xml \
	python3-pip \
	python3-importlib-metadata \
	python-unversioned-command \
	redhat-rpm-config \
	sudo \
	tar \
	which \
	e2fsprogs \
	rubygem-asciidoctor \
	libdrm-devel \
	libuuid-devel \
	kmod

# /tmp is no longer 755 in the rawhide container image and breaks CI - fix it
chmod 1777 /tmp
