bcc Docker & Self-Hosted Deployment

GitHub

BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more

22,566 stars C C 1 file ยท ~56,160 tokens
1. Pull Image (DOCKERHUB) docker pull iovisor/bcc:latest
2. Docker Run (1-Click Launch) docker run -d --name bcc --restart always iovisor/bcc:latest
3. Podman Run podman run -d --name bcc --restart always iovisor/bcc:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/iovisor/bcc:latest
5. ORAS Pull (OCI Artifact) oras pull iovisor/bcc:latest
docker/build/Dockerfile.fedora
# Copyright (c) PLUMgrid, Inc.
# Licensed under the Apache License, Version 2.0 (the "License")

ARG VERSION="34"
FROM fedora:${VERSION}

ARG RUBY_INSTALL_VERSION="0.8.4"
ENV RUBY_INSTALL_VERSION=$RUBY_INSTALL_VERSION

ARG RUBY_VERSION="3.1.2"
ENV RUBY_VERSION=$RUBY_VERSION

MAINTAINER Dave Marchevsky <[email protected]>

RUN dnf -y install \
	bison \
	cmake \
	flex \
	gcc \
	gcc-c++ \
	git \
	libxml2-devel \
	make \
	rpm-build \
	wget \
	zlib-devel \
	llvm \
	llvm-devel \
	clang-devel \
	elfutils-debuginfod-client-devel \
#	elfutils-libelf-devel-static \
	elfutils-libelf-devel \
	python3-devel \
	libstdc++ \
	libstdc++-devel \
	systemtap-sdt-devel

RUN dnf -y install \
	python3 \
	python3-pip

RUN dnf -y install \
       rust \
       cargo

RUN if [[ ! -e /usr/bin/python && -e /usr/bin/python3 ]]; then \
        ln -s $(readlink /usr/bin/python3) /usr/bin/python; \
    fi

RUN dnf -y install \
	procps \
	iputils \
	net-tools \
	hostname \
	iproute \
	bpftool \
	iperf \
	netperf \
	python3-pyroute2 \
	python3-netaddr \
	python3-dnslib \
	python3-cachetools \
	python3-pyelftools

RUN wget -O ruby-install-${RUBY_INSTALL_VERSION}.tar.gz \
         https://github.com/postmodern/ruby-install/archive/v${RUBY_INSTALL_VERSION}.tar.gz && \
    tar -xzvf ruby-install-${RUBY_INSTALL_VERSION}.tar.gz && \
    cd ruby-install-${RUBY_INSTALL_VERSION}/ && \
    make install && \
    cd .. && \
    rm -rf ruby-install-${RUBY_INSTALL_VERSION}*

RUN ruby-install --system ruby ${RUBY_VERSION} -c -- --enable-dtrace