Giter Site home page Giter Site logo

alejandroalffer / quorum-maker-image Goto Github PK

View Code? Open in Web Editor NEW

This project forked from synechron-finlabs/quorum-maker-image

0.0 0.0 0.0 146 KB

Script for building Docker Image for Quorum Maker

License: Apache License 2.0

Shell 79.03% Dockerfile 20.97%

quorum-maker-image's Introduction

Quorum Maker Docker image building utility

Quorum Maker uses Docker to make the setup easy. Most of the dependancies are baked into the image, so users can get going without having to download and install a list of dependancies. If you want to use a different version of these dependancies other than officially supported by Quorum Maker, build the docker image locally and use with Quorum Maker.

Usage of Quorum Maker image building utility is optional. The official docker image is uploaded in docker hub.

Quick Start

  1. Create a temperory directory and clone following three projects

    1. mkdir qmtemp; cd qmtemp
    2. git clone https://github.com/synechron-finlabs/quorum-maker-nodemanager.git
    3. git clone https://github.com/synechron-finlabs/quorum-maker-ui.git
    4. git clone https://github.com/synechron-finlabs/quorum-maker-image.git
    5. Quorum Maker project is not required to build docker image as it is required only at runtime.
  2. Run ./build_image.sh inside quorum-maker-image directory. Following are the steps executed automatically by this script.

    1. Automatically build quorum-maker-nodemanager using Golang and copy the executable to image.
    2. Automatically build quorum-maker-ui using Angular and copy HTML, JS, CSS and images.
    3. Automatically clone Quorum and copy geth and bootnode to image.
    4. Download Constellation executable and copy to image.
    5. Install Linux libraries.
  3. Tag docker image

    • Quourm maker follows below convention for naming docker image syneblock/quorum-maker:<quorum-version>_<quorum-maker-version>

    E.g. If Quorum version is 2.0.2 and Quorum Maker version is 2.1, the docker image tag by convension is syneblock/quorum-maker:2.0.2_2.1

    • You can pass the name and tag of the docker image as the parameter to the build_image.sh script.

    E.g. build_image.sh my-quorum-maker or build_image.sh my-quorum-maker 1.9_2.0

    • If you do not pass any parameters, build_image.sh will use the git branch for the Quorum Maker part of the tag name.

    E.g. If you are V2.0 branch, the generated image name will be syneblock/quorum-maker:2.0.2_2.0

    Branches development and master are treated specially.

Please refer to the source code and edit each libraries versions before you build. Make sure to update the image tag name in qm.variables of Quorum Maker to use this newly built image.

quorum-maker-image's People

Contributors

abhayar avatar carnelius8888 avatar dhyansraj avatar paliwalg avatar rajarshi-syne avatar rakhisb avatar rjbanner avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.