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. (deprecated in favor of
uv
)python-gitlab to be able to interact with GitLab
python3 to run Python scripts
uv as a unified
pip
,virtualenv
,pip-tools
, …
This list is subject to change at any time. It is recommended that you include the appropriate commands (eg: apt-get install
/ pipx install
) in your continuous integration setup to ensure these dependencies are present. In the best case, the installation will be a no-op.
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