Skip to content

Commit

Permalink
Docker: drop unneeded packages from Fedora build
Browse files Browse the repository at this point in the history
Do not install the "Development Tools" group which contains a lot of
packages not necessary for bpftrace build (in fact, we should be
instaling the "C Development Tools and Libraries" group, but that one
still contains a lot of packages).

Instead, install only the minimal packages necessary.
  • Loading branch information
viktormalik committed Jan 23, 2024
1 parent 1321ef0 commit ee6c23b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,24 @@

FROM fedora:rawhide

RUN dnf -y groupinstall "Development Tools" && \
dnf install -y \
RUN dnf install -y \
asciidoctor \
bison \
binutils-devel \
bcc-devel \
cereal-devel \
clang-devel \
cmake \
elfutils-devel \
elfutils-libelf-devel \
elfutils-libs \
flex \
gcc \
gcc-c++ \
libpcap-devel \
libbpf-devel \
llvm-devel \
make \
systemtap-sdt-devel \
zlib-devel

Expand Down

0 comments on commit ee6c23b

Please sign in to comment.