-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.fedora38
62 lines (57 loc) · 1.17 KB
/
Dockerfile.fedora38
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
57
58
59
60
61
FROM fedora:38
# Install base groups
RUN dnf groupinstall -y \
development-tools \
c-development \
rpm-development-tools \
&& dnf clean all \
&& rm -rf /var/cache/dnf
# Install base packages
RUN dnf install -y \
bash \
cmake \
cmake-fedora \
coreutils \
curl \
diffutils \
gcc \
gcc-c++ \
git \
make \
ninja-build \
patch \
python \
rpm-build \
rpm-devel \
rpmdevtools \
rpmlint \
rust-cc-devel \
wget \
&& dnf clean all \
&& rm -rf /var/cache/dnf
# Install rpm macros
RUN dnf install -y \
cmake-rpm-macros \
fedora-rpm-macros \
go-rpm-macros \
kernel-rpm-macros \
lua-rpm-macros \
lua-rpm-macros \
pyproject-rpm-macros \
python-rpm-macros \
python-srpm-macros \
python3-rpm-macros \
systemd-rpm-macros \
typelib-srpm-macros \
&& dnf clean all \
&& rm -rf /var/cache/dnf
# Install rpm macros for python development
RUN dnf install -y \
dnf-plugins-core \
python3-devel \
python3-rpm-macros \
python3-setuptools_scm+toml \
python3-poetry \
python3-wheel \
&& dnf clean all \
&& rm -rf /var/cache/dnf