Giter Site home page Giter Site logo

devpramod-intel / container-images Goto Github PK

View Code? Open in Web Editor NEW

This project forked from intelpython/container-images

0.0 0.0 0.0 83 KB

Dockerfiles for building docker images

License: BSD 3-Clause "New" or "Revised" License

Shell 4.28% Python 56.38% Dockerfile 39.34%

container-images's Introduction

container-images

.github/workflows/ci.yml

Dockerfiles and build contexts for building docker images

There is 1 subdirectory for every image to build. Dockerfiles and build contexts are generated from jinja2 templates in tpls directory. The images.py script generates the files, and can also be used to build docker images and to test them. To see more info do:

    python images.py --help

testing

    python -m pytest tests

Will build every image. Look at the test for example command lines.

Adding an image

  • copy one of the the existing directories
  • See images.py for directions on adding a new configuration
  • create a new automated build on docker hub, copying build setting of existing image

Publishing a new release (Internal Use Only)

Disclaimer: Do NOT do this unless all packages for upcoming release have been uploaded to Intel channel on Anaconda Cloud. Best time to do this is right before FCS when all packages have automatically been uploaded and validated.

If we are publishing 2017.0.0 build number 2, then the docker image will have 3 tags: 2017.0.0-2, 2017.0.0, latest. Github Actions will create a Docker image after a PR is merged. The following steps are all that is needed to update our Dockerhub with our latest IntelPython.

  • Change update_number & build_number in images.py. Most of the time, the build number remains the same (#0) and the minor version is incremented (e.g. 2021.1.0 -> 2021.2.0)

  • Regenerate the READMEs and Dockerfiles for the individual images by running the following command

      python images.py --gen all
    
  • Create branch and commit changes

  • Tag with the release name

      git tag -a 2022.0.0-0 -m '2022.0.0-0 release'
      git push origin update/2022.0.0-0
      git push origin 2022.0.0-0
    
  • Create PR, check that tests pass, and then merge PR. Github actions has been setup to automatically build the Docker image and push it to Dockerhub afterwards.

container-images's People

Contributors

rscohn2 avatar andresguzman-ballen avatar aguzmanballen avatar triskadecaepyon avatar sfblackl-intel avatar bsanchezr avatar devpramod-intel avatar devpramod avatar lindt 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.