APACHE-2.0 License
Docker image configuration and management for Wikimedia Toolforge.
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -U pip
$ pip install -U -r requirements.txt
$ ./build.py --push php/web
Dockerfile.template
in the appropriate directory..dockerignore
to exclude the template from being imported into theIMAGES
in build.py
.Dockerfile.template files should use {registry}
and {image_prefix}
parameters to adapt to the command line options provided when running
build.py
.
apt-get install
once.apt-get install
should be preceded by an apt-get update
andapt-get clean
. See base/Dockerfile.template for an example.