containers: an instrumented Java application standalone container
commit6c35536c77e1a9a9cfb69154c5d97618d0e6ff8d
authorNathan Scott <nathans@redhat.com>
Fri, 10 Feb 2017 06:15:13 +0000 (10 17:15 +1100)
committerNathan Scott <nathans@redhat.com>
Fri, 10 Feb 2017 06:15:13 +0000 (10 17:15 +1100)
tree066a97e8000528e45ca4184db272554237b504f1
parent8759b2a63f5ed69f42621edad5f4f8e31aa4c85b
containers: an instrumented Java application standalone container

Adds the sample pcp-java-app container to the build, which shows
how to run a Java service in a container with pmcd, pmdammv, and
Parfait instrumentation all in place alongside it.

Several other aspects of pcp-base and other standalone containers
are tidied up here.  Using the Dockerfile COPY directive seems to
result in much simpler, clearer Dockerfiles - so more use is made
of it now.

Improved notes on using docker inspect to extract the docker run
command (see comments at head of each Dockerfile) avoiding having
to specify it in multiple places.  Switched to using ENV to avoid
any direct editing of installed configuration files, for PCP_USER
and PCP_GROUP.
12 files changed:
build/containers/GNUmakefile
build/containers/pcp-apache/Dockerfile
build/containers/pcp-apache/status.conf [new file with mode: 0644]
build/containers/pcp-base/Dockerfile
build/containers/pcp-base/GNUmakefile
build/containers/pcp-base/bash_profile [new file with mode: 0644]
build/containers/pcp-base/pcp.repo [new file with mode: 0644]
build/containers/pcp-java-app/Dockerfile [new file with mode: 0644]
build/containers/pcp-java-app/GNUmakefile [copied from build/containers/GNUmakefile with 57% similarity]
build/containers/pcp-java-app/acme.service [new file with mode: 0644]
build/containers/pcp-nginx/Dockerfile
build/containers/pcp-nginx/status.conf [new file with mode: 0644]