Docker containers for building HeapStats
861
If you want to use Kubernetes as build bot, please see here
The containers in this repository provides build infrastructure for HeapStats.
archives/rpmbulid/*$ docker build -t heapstats/builder:archives-2.1 -f archives/Dockerfile-2.1 .
$ docker build -t heapstats/builder:archives-2.2 -f archives/Dockerfile-2.2 .
rpmbuild for each OSes$ docker build -t heapstats/builder:centos6 -f rpmbuild/Dockerfile.el6 .
$ docker build -t heapstats/builder:centos7 -f rpmbuild/Dockerfile.el7 .
$ docker build -t heapstats/builder:centos8 -f rpmbuild/Dockerfile.el8 .
$ docker build -t heapstats/builder:fedora -f rpmbuild/Dockerfile.fedora .
https://hub.docker.com/r/heapstats/builder/
$ docker pull heapstats/bulider:archives-2.1
$ docker pull heapstats/bulider:archives-2.2
$ docker pull heapstats/bulider:centos6
$ docker pull heapstats/bulider:centos7
$ docker pull heapstats/bulider:centos8
$ docker pull heapstats/bulider:fedora
You have to set some environment variables:
RELEASE
BZ2_ARCHIVE
bz2 link on left menu bar on this site.NOTE:
heapstats/builder:archives-2.1 is for HeapStats 2.1 or earlier. If you want to compile HeapStats 2.2 or later including trunk repo, you need to use heapstats/builder:archives-2.2.
If you run them under proxy, you also need to set http_proxy and https_proxy.
$ docker run -it --rm -v /path/to/outdir:/share -e RELEASE=<Release version> heapstats/builder:<tag>
BZ2_ARCHIVE$ docker run -it --rm -v /path/to/outdir:/share -e BZ2_ARCHIVE=<Source archive URL> -e RELEASE=<Release version> heapstats/builder:<tag>
You can get binaries from /path/to/outdir.
NOTE 1:
You can share maven local repository between containers if you pass -v /path/to/localrepo:/root/.m2 to docker run. See Maven Official Docker Hub for more details.
NOTE 2:
If /path/to/outdir/$RELEASE/src/$RELEASE.tar.gz exists, it would be used for build, would not download the source.
heapstats-2.0.6/
├ bin
│ ├ agent
│ │ ├ heapstats-2.0.6-0.el6.x86_64.rpm
│ │ ├ heapstats-2.0.6-0.el7.x86_64.rpm
│ │ ├ heapstats-2.0.6-0.el8.x86_64.rpm
│ │ ├ heapstats-2.0.6-0.fc31.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.0.6-0.el6.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.0.6-0.el7.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.0.6-0.el8.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.0.6-0.fc31.x86_64.rpm
│ │ ├ heapstats-debugsource-2.0.6-0.el8.x86_64.rpm
│ │ └ heapstats-debugsource-2.0.6-0.fc31.x86_64.rpm
│ └ analyzer
│ ├ heapstats-analyzer-2.0.6-0.fc31.noarch.rpm
│ ├ heapstats-analyzer-2.0.6-bin.zip
│ ├ heapstats-cli-2.0.6-0.el6.noarch.rpm
│ ├ heapstats-cli-2.0.6-0.el7.noarch.rpm
│ ├ heapstats-cli-2.0.6-0.el8.noarch.rpm
│ ├ heapstats-cli-2.0.6-0.fc31.noarch.rpm
│ └ heapstats-cli-2.0.6-bin.zip
└ src
├ heapstats-2.0.6-0.el6.src.rpm
├ heapstats-2.0.6-0.el7.src.rpm
├ heapstats-2.0.6-0.el8.src.rpm
├ heapstats-2.0.6-0.fc31.src.rpm
└ heapstats-2.0.6.tar.gz
heapstats-2.1.0/
├ api
│ ├ heapstats-core-2.1.0.jar
│ └ heapstats-plugin-api-2.1.0.jar
├ bin
│ ├ agent
│ │ ├ heapstats-2.1.0-0.el6.x86_64.rpm
│ │ ├ heapstats-2.1.0-0.el7.x86_64.rpm
│ │ ├ heapstats-2.1.0-0.el8.x86_64.rpm
│ │ ├ heapstats-2.1.0-0.fc31.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.1.0-0.el6.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.1.0-0.el7.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.1.0-0.el8.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.1.0-0.fc31.x86_64.rpm
│ │ ├ heapstats-debugsource-2.1.0-0.el8.x86_64.rpm
│ │ └ heapstats-debugsource-2.1.0-0.fc31.x86_64.rpm
│ └ analyzer
│ ├ heapstats-analyzer-2.1.0-0.fc31.noarch.rpm
│ ├ heapstats-analyzer-2.1.0-bin.zip
│ ├ heapstats-cli-2.1.0-0.el6.noarch.rpm
│ ├ heapstats-cli-2.1.0-0.el7.noarch.rpm
│ ├ heapstats-cli-2.1.0-0.el8.noarch.rpm
│ ├ heapstats-cli-2.1.0-0.fc31.noarch.rpm
│ └ heapstats-cli-2.1.0-bin.zip
└ src
├ heapstats-2.1.0-0.el6.src.rpm
├ heapstats-2.1.0-0.el7.src.rpm
├ heapstats-2.1.0-0.el8.src.rpm
├ heapstats-2.1.0-0.fc31.src.rpm
└ heapstats-2.1.0.tar.gz
heapstats-2.2.trunk/
├ api
│ ├ heapstats-core-2.2-SNAPSHOT.jar
│ └ heapstats-plugin-api-2.2-SNAPSHOT.jar
├ bin
│ ├ agent
│ │ ├ heapstats-2.2.trunk-0.el6.x86_64.rpm
│ │ ├ heapstats-2.2.trunk-0.el7.x86_64.rpm
│ │ ├ heapstats-2.2.trunk-0.el8.x86_64.rpm
│ │ ├ heapstats-2.2.trunk-0.fc31.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.2.trunk-0.el6.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.2.trunk-0.el7.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.2.trunk-0.el8.x86_64.rpm
│ │ ├ heapstats-debuginfo-2.2.trunk-0.fc31.x86_64.rpm
│ │ ├ heapstats-debugsource-2.2.trunk-0.el8.x86_64.rpm
│ │ └ heapstats-debugsource-2.2.trunk-0.fc31.x86_64.rpm
│ └ analyzer
│ ├ heapstats-analyzer-2.2-SNAPSHOT-linux-amd64.zip
│ └ heapstats-cli-2.2-SNAPSHOT-linux-amd64.zip
└ src
├ heapstats-2.2.trunk-0.el6.src.rpm
├ heapstats-2.2.trunk-0.el7.src.rpm
├ heapstats-2.2.trunk-0.el8.src.rpm
├ heapstats-2.2.trunk-0.fc31.src.rpm
└ heapstats-2.2.trunk.tar.gz
raspbian-setup.sh
NOTE:
qemu-imgqemu-user-staticsystemd-containerraspbian-setup.sh as root because it would mount filesystem in Raspbian image.raspbian-setup.sh.$LOCAL_GZ_ARCHIVE.rpi_sysroot, you can skip the process with --skip-mount.docker build -t heapstats/builder:ubuntu -f experimental/ubuntu/Dockerfile . to build imagedocker run -it --rm heapstats/builder:ubuntu to build HeapStats
-e VER=2.0).-v /path/to/dir:/archive -e LOCAL_GZ_ARCHIVE=<archive name>.tar.gz.Content type
Image
Digest
Size
271.1 MB
Last updated
over 6 years ago
docker pull heapstats/builder:fedora