/dcos-builder-dind

Fun with Docker-in-Docker and "DC/OS Tools, Packages, and Installers"

Primary LanguageShellApache License 2.0Apache-2.0

Build "DC/OS Build and Release tools" with Docker-in-Docker (dind)

Based on

Docker instructions

# clone repo
$ git clone https://github.com/jstabenow/dcos-builder-dind

# build docker image
$ docker build -t dcos-builder-dind .

# build dc/os tools
$ docker run -it --privileged -v $PWD/dcos-artifacts:/root/dcos-artifacts dcos-builder-dind

# build dc/os tools with custom config and config location 
$ docker run -it \
    -v $PWD/dcos-artifacts:/root/dcos-artifacts \
    -v $PWD/myconfig:/myconfig \
    -e CONFIG_SHARED_PATH=/myconfig \
    --privileged dcos-builder-dind

Builder (default) enviroments

More here: DC/OS

CONFIG_SHARED_PATH=/root/dcos-release.config.yaml
CONFIG_KIND=local_path
CONFIG_PREFERRED=local

RELEASE_ARTIFACTS_PATH=/root/dcos-artifacts
RELEASE_ACTION=create
RELEASE_CHANNEL=first
RELEASE_TAG=build-demo