python-make

A Docker image that contains just the basic tools to build other Dockers with Makefile or scripts. It’s main usage is within a continuous integration script.

Downloading

cappysan/python-make can be downloaded from GitLab:

docker pull registry.gitlab.com/cappysan/images/python-make

Contents

This docker inherits from cappysan/make and adds:

  • gitlabsolute to be able to interact with GitLab

  • pipx to be able to install Python packages

  • py3-virtualenv to be able to create virtual environments

  • python-gitlab to be able to interact with GitLab

  • python3 to run Python scripts

Usage

An example of cappysan/python-make usage in a GitLab CI:

job:
  image: registry.gitlab.com/cappysan/images/python-make
  stage: build
  script:
    - python -mvenv .venv
    - source .venv/bin/activate
    - make check