Skip to content
Snippets Groups Projects
  1. Nov 11, 2020
  2. Oct 23, 2020
  3. Oct 21, 2020
    • Dale Hamel's avatar
      Refactor docker image publishing · d4aecc65
      Dale Hamel authored
      This adds support to push docker images to quay.io, like other projects in
      the iovisor org.
      
      It separates docker image builds into a separate github workflow, and
      refactors the package building process slightly, to be generic, in order to
      create builds for both ubuntu 16.04 and ubuntu 18.04.
      
      This provides a means to distribute intermediate apt packages between releases,
      and also enables uploading these as CI artifacts.
      
      As recent releases have not annotated their tags, it drops the requirement for
      tags to be annotated in selecting the version to use.
      d4aecc65
  4. Jun 03, 2020
    • Mauricio Vásquez's avatar
      Docker: add kmod dependency to docker container · 5fed2a94
      Mauricio Vásquez authored
      
      modprobe and rmmod are used to load the kheaders module as a last option
      when kernel headers are not found. The modprobe command is missing in the
      docker image and scroipts are failing:
      
      $ /usr/share/bcc/tools/execsnoop --mntnsmap /sys/fs/bpf/mnt_ns_set
      sh: 1: modprobe: not found
      Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module)
      ...
      
      Signed-off-by: default avatarMauricio Vásquez <mauricio@kinvolk.io>
      5fed2a94
  5. Mar 09, 2020
  6. Mar 08, 2020
    • Alban Crequy's avatar
      GitHub Actions: optionally publish container image · cf20a499
      Alban Crequy authored
      This is optional: this GitHub Action will only attempt to publish the
      container image if the GitHub repository has been configured with GitHub
      secrets (e.g. https://github.com/iovisor/bcc/settings/secrets).
      
      The GitHub secrets can be configured as follows:
      - DOCKER_PUBLISH = 1
      - DOCKER_IMAGE = docker.io/myorg/bcc
      - DOCKER_USERNAME = username
      - DOCKER_PASSWORD = password
      
      This is intended to make it easy for anyone to fork iovisor/bcc on
      GitHub and publish custom container images with bcc.
      cf20a499
  7. Sep 13, 2018
    • zlim's avatar
      Enable Ubuntu/arm64 deb packaging (#1968) · 17f797d9
      zlim authored
      
      * Bump ubuntu docker build to bionic
      
      Fixes build dependency for arm64
      
      Signed-off-by: default avatarZi Shen Lim <zlim.lnx@gmail.com>
      
      * Add Build-Depends: dh-python
      
      Fixes build dependency issue observed on bionic/arm64:
      
      dh: unable to load addon python3: Can't locate Debian/Debhelper/Sequence/python3.pm in @INC (you may need to install the Debian::Debhelper::Sequence::python3 module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/aarch64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/aarch64-linux-gnu/perl-base) at (eval 9) line 1.
      BEGIN failed--compilation aborted at (eval 9) line 1.
      
      Signed-off-by: default avatarZi Shen Lim <zlim.lnx@gmail.com>
      
      * Enable arm64 deb packaging
      
      LLVM6.0 is minimum version required for arm64 build. [PR#1512]
      
      [PR#1512] https://github.com/iovisor/bcc/pull/1512
      
      
      
      Signed-off-by: default avatarZi Shen Lim <zlim.lnx@gmail.com>
      17f797d9
  8. Aug 17, 2017
    • Pavel Safronov's avatar
      Fixes for debian and ubuntu docker build · eb819caf
      Pavel Safronov authored
      * Fixed build for debian and ubuntu
      * Bumped debian and ubuntu versions (fix some build-dependency issues)
      * Make debian and ubuntu Dockerfiles use the same build script
      * Build-dependencies now installing automatically via pbuilder
      eb819caf
  9. Aug 26, 2015
    • Brenden Blanco's avatar
      Add proper debian build support · bd8fea4f
      Brenden Blanco authored
      
      The cmake based build system is nice, but not quite production ready.
      Move to the more painful but featureful debuild style. This is one step
      towards an upstreamable package.
      
      Rename libbpfprog (ugh) to libbcc.
      
      Split out python-bpf and libbcc-examples into separate packages that
      depend on libbcc.
      
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      bd8fea4f
  10. Jul 07, 2015
    • Brenden Blanco's avatar
      Add multiple build support styles · f275d3db
      Brenden Blanco authored
      
      * Add RPM and DEB packaging targets (using CPack from CMake) to build
        binary packages for Fedora and Ubuntu targets.
      * Add Docker build scripts for each of the above that run the build in
        the right environment (assuming docker is available).
       - In Ubuntu, build against the LLVM 3.7 nightly snapshots
       - In Fedora, build against LLVM 3.7 from git (takes longer)
      * Depending on packages installed on the build machine, it may be
        possible to cross-package for other targets without invoking Docker.
      * Re-introduce src/cc/compat directory to keep the build stable for the
        time being. Similarly, it was necessary to #define some ugly constants
        that should eventually show up in libc.
      * Add a few simple version checks to allow a partially working (really
        tracing only) libbcc in 4.1 kernels.
      
      TODO (followup commit): Re-work the READMEs
      
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      f275d3db
Loading