pcp
[Top] [All Lists]

pcp updates - container build infrastructure

To: pcp <pcp@xxxxxxxxxxx>
Subject: pcp updates - container build infrastructure
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Mon, 21 Dec 2015 17:50:36 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
Switch to using official/released bintray repos for PCP container images
based on Fedora and pave the way for future flexibility.

Changes committed to git://git.pcp.io/mgoodwin/pcp master
(note: I'm now mgoodwin on pcp.io, no longer markgw)

commit fc33729d6cd26c690f9529ecada93ad85d12335b
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date:   Mon Dec 21 17:21:50 2015 +1000

    Build PCP container images using the bintray RPM repo matching 
fedora:latest.
Previously the default was to build container images based on 'pcp-devel',
    which is a repo constructed from the just-built PCP RPMs, which are copied
    to /tmp/RPMS inside the pcp-base container image, and thus available to all
    container images based on pcp-base. This option is still available, see
    comments in build/containers/pcp-base/Dockerfile, but no longer the default.
The default now uses the latest Fedora base image from the default Docker
    repository (docker.io/fedora:latest) to determine the Fedora base image
    version (by looking in /etc/redhat-release), and matches this up with the
    latest PCP repo on bintray for that version of Fedora. This is currently
    f23 (fedora:latest), but adapts automatically as new versions of Fedora
    are released, at which time the base image will be updated.
Future work will allow use of other base images (e.g. Debian, RHEL, etc)
    via Makepkgs command line options, and automatically use the correct bintray
    PCP repo for the nominated base image.
modified: build/containers/pcp-base/Dockerfile
        modified:   build/containers/pcp-collector/Dockerfile
        modified:   build/containers/pcp-monitor/Dockerfile
        modified:   build/containers/pcp-pmie/Dockerfile
        modified:   build/containers/pcp-pmlogger/Dockerfile
        modified:   build/containers/pcp-testsuite/Dockerfile

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates - container build infrastructure, Mark Goodwin <=