Coder Social home page Coder Social logo

baseimage's Introduction

Baseimage Introduction

This directory contains the infrastructure for creating a new baseimage used as the basis for various docker images consumed within the palletone workflow such as chaincode compilation/execution, unit-testing, and even cluster simulation. It is based on centos:7.5.1804 with various opensource projects added such as golang, java, and node.js. The actual palletone code is injected just-in-time before deployment. The resulting images are published to image registries such as [hub.docker.com][palletone-baseimage].

The purpose of this baseimage is to act as a bridge between a raw centos:7.5.1804 configuration and the customizations required for supporting a palletone environment. Some of the components that need to be added to centos do not have convenient native packages. Therefore, they are built from source. However, the build process is generally expensive (often taking in excess of 5 minutes) so it is fairly inefficient to JIT assemble these components on demand.

Therefore, the expensive components are built into this baseimage once and subsequently cached on the public repositories so that workflows may simply consume the objects without requiring a local build cycle.

Intended Audience

This repository is only intended for release managers curating the base images. Typical developers may safely ignore this completely. Anyone wishing to customize their image is encouraged to do so via downstream means, such as a custom Dockerfile.

Exceptions

If a component is found to be both broadly applicable and expensive to build JIT, it may be a candidate for inclusion in a future baseimage.

Usage

  • "make docker" will build the docker images and commit it to your local environment; e.g. "palletone/pallet-baseimage". The docker image is also tagged with architecture and release details.
  • "make install" build build the docker images and push them to Docker Hub.

baseimage's People

Contributors

studyzy avatar wanglg007 avatar

Stargazers

 avatar

Watchers

James Cloos 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.