ska-sa / katsdpdockerbase

Dockerfiles for base Docker images underlying SDP containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Base Docker images

This repository containers Dockerfiles to build some base images, from which other SDP Docker images are built.

Multi-stage build images

The "new" images are intended to be used for multi-stage builds. To build a package, a first stage should build from docker-base-build; this image has compilers, development libraries, a wheel cache of common Python packages, and some scripts to simplify handling pinning dependencies. The final stage should be based on docker-base-runtime, and typically just copies and activates a virtual environment.

Build order

Because Docker does not entirely support diamond inheritance, the hierarchy is docker-base-runtime » docker-base-build » docker-base-gpu-build, and docker-base-gpu-runtime inherits from docker-base-runtime but copies elements from docker-base-gpu-build. Thus, builds must occur in the order

  • docker-base-runtime
  • docker-base-build
  • docker-base-gpu-build
  • docker-base-gpu-runtime

About

Dockerfiles for base Docker images underlying SDP containers

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


Languages

Language:Python 63.4%Language:Dockerfile 19.9%Language:C 9.7%Language:Shell 7.0%