-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.ubi9
56 lines (51 loc) · 1.12 KB
/
Dockerfile.ubi9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
FROM redhat/ubi9
# Install EPEL
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
# Install base packages
RUN dnf install -y --allowerasing \
bash \
coreutils \
curl \
diffutils \
gcc \
git \
make \
patch \
python \
rpm-build \
rpmlint \
wget \
&& dnf clean all \
&& rm -rf /var/cache/dnf
# Install rpm macros
RUN dnf install -y \
cmake-rpm-macros.noarch \
epel-rpm-macros \
go-rpm-macros-epel \
kernel-srpm-macros \
lua-srpm-macros \
pyproject-rpm-macros \
pyproject-rpm-macros \
python-rpm-macros \
python-srpm-macros \
python3-rpm-macros \
systemd-rpm-macros \
&& dnf clean all \
&& rm -rf /var/cache/dnf
# Install rpm macros for python development
RUN dnf install -y \
dnf \
dnf-plugins-core \
python3-devel \
python3-rpm-macros \
python3-setuptools_scm+toml \
python3-poetry-core \
python3-wheel \
&& dnf clean all \
&& rm -rf /var/cache/dnf
# MISSED DUE TO MISSING PACKAGES:
# rpm-devel \
# rpmdevtools \
# typelib-srpm-macros \
# fedora-rpm-macros \
#