Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 1.0

Table of Contents

Introduction

Bigtop uses docker based images as build environment for its components.

It provideds support for following OS-platforms as of 2018-6-26:

CentOS-6/7(x86),  Debian-8/9(x86), Fedora-2526(x86, ppc64le), OpenSUSE-42.13(x86), Ubuntu-14.04/16.04(x86,ppc64le,aarch64)

The hierarchy of these images is:

Pre-requesties

  • Docker

    Code Block
    languagebash
    sudo apt-get install -y docker.io


Bigtop/puppet-{OS} images

To build bigtop/puppet images, say, ubuntu-16.04-aarch64:

Code Block
languagebash
cd docker/bigtop-puppet/<BIGTOP_SRC_TOP>
./gradlew -POS=ubuntu-16.04 -aarch64
./build.shPprefix=trunk bigtop-puppet

This will create bigtop/puppet:trunk-ubuntu-16.04-aarch64 image.

Code Block
languagebash
$ docker images
REPOSITORY            TAG                          IMAGE ID            CREATED             SIZE
bigtop/puppet         trunk-ubuntu-16.04-aarch64         d540810efa71        4 days ago          305.9 MB
aarch64/ubuntu        16.04                        a7d1ddc47ced        10 weeks ago        109.7 MB

...

Code Block
languagebash
cd <BIGTOP_SRC_TOP>
docker build -t bigtop/slaves:trunk-./gradlew -POS=ubuntu-16.04-aarch64 -fPprefix=trunk docker/bigtop-slaves/ubuntu-16.04-aarch64/Dockerfile .

This will create bigtop/slaves:trunk-ubuntu-16.04-aarch64 image.

Code Block
languagebash
$ docker images
REPOSITORY            TAG                          IMAGE ID            CREATED             SIZE
bigtop/slaves         trunk-ubuntu-16.04-aarch64   5b4c77dc374f        2 hours ago         2.861 GB
bigtop/puppet         trunk-ubuntu-16.04-aarch64         d540810efa71        4 days ago          305.9 MB
aarch64/ubuntu        16.04                        a7d1ddc47ced        10 weeks ago        109.7 MB

...