The PrestaShop Docker tool aims to easily configure, build and tag PrestaShop Docker images. It requires Python 3.6+.
$ pip install -r requirements.txt
Display the help:
$ ./prestashop_docker.py --help
usage: prestashop_docker.py [-h] [--debug] [--cache] [subcommand] ...
PrestaShop Docker manager.
positional arguments:
[subcommand]
tag Tag managment
generate Generate Dockerfile
optional arguments:
-h, --help show this help message and exit
--debug Use Debug
--cache Enable cache
It allows you to generate Dockerfile files related on what you defined in versions.py
file.
$ ./prestashop_docker.py generate --help
usage: prestashop_docker.py generate [-h]
optional arguments:
-h, --help show this help message and exit
It builds docker images on local et allows you to push them on DockerHub.
$ ./prestashop_docker.py tag --help
usage: prestashop_docker.py tag [-h] {exists,build,push,aliases} ...
positional arguments:
{exists,build,push,aliases}
exists Check if tag exists on Docker Hub
build Build container and create docker tag
push Push docker tags
aliases Get aliases
optional arguments:
-h, --help show this help message and exit