Git Product home page Git Product logo

cachalot's Introduction

Docker Images Generation

The build-img script can generate images for a particular distro based on only one Dockerfile.

The docker/ directory contains all the script needed to use when building images.

Please take a look to the Makefile for configuration options.

make, make all and make build will build the docker images locally. If no TAG variable is specified, then only the images with the form ORG/IMG:DIST-vX will be generated, as well as the ORG/IMG which will only be tagged for the LATEST_DIST distribution.

If make build TAG=v2.0.1 is used (for example), the image ORG/IMG:DIST-v2.0.1 will be tagged too.

If a TAG is specified but is a pre-release (as per SemVer, i.e. it contains a -), the default tagged image will be ORG/IMG:DIST-vX-test (instead of ORG/IMG:DIST-vX) and ORG/IMG will not be tagged at all.

make push will push all the images that would be generated by make build (same rules apply for TAG).

Internal cachalot user

As part of base image generation, user named cachalot will be created. It is intended to be used to run tests without accidental root access which may affect the result.

This user is added to sudoers with a permission to run any sudo command without a password. This is primarily to be able to install new packages as part of the testing script - when such root access is not necessary, it is recommended to use host user ID instead.

cachalot's People

Contributors

leandro-lucarella-sociomantic avatar mihails-strasuns-sociomantic avatar nemanja-boric-sociomantic avatar stefan-koch-sociomantic avatar

Watchers

 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.