Skip to content

wzur-r3/corda-build-inside-container

Repository files navigation

Proof of concept for building Corda projects inside a Docker container

This projects shows how keep a complete build environment for Corda as a Docker image and how to build the project using this image.

Table of Contents

(TOC generated by markdown-toc)

Before you start

This PoC requires a Docker engine (of course!) and Bash shell. The wrapper scripts expects a docker command to be available and it can contact a Docker engine without access rights elevation.

TL;DR

To start a shell inside a Docker container, just run the wrapper script:

./with-docker-container.sh

alternatively, to run a command inside a Docker container:

./with-docker-container.sh

specifically, to run a build for Corda project, go to the checkout out Corda project and:

PATH_TO_THIS_PROJECT/corda-builder.sh gradle clean build buildDocs

References

  • Docker - The container engine

About

Corda build infrastructure inside a Docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published