Pulls the docker files from nginx and then build it on a python image. Using up-to-date images for both python and nginx.
Docker Hub: ozyviking/python-nginx GitHub Repo: ozy-viking/python-nginix
Contianers can be pulled from either docker hub or github container registry:
- Docker: ozy-viking/python-nginx:latest
- Github: ghcr.io/ozy-viking/python-nginx:latest
Tags are broken into 3 parts for their respective versions <python>-<nginx>-<os>
.
For example the tag 3.11-mainline-bookworm
means that it is built bookworm (debian os), with a python version of 3.11 and the nginx branch of mainline
- 3.11-mainline-bookworm, mainline, bookworm, 3.11, latest
- 3.10-mainline-bookworm, 3.10
- 3.9-mainline-bookworm, 3.9
- 3.11-stable-bullseye
- 3.10-stable-bullseye
- 3.9-stable-bullseye
-
Install poetry.
python -m pip install poetry
-
Install the package.
git clone https://github.com/Ozy-Viking/python-nginx.git cd poetry-nginx poetry install
-
Activate the virtual environment.
poetry shell
-
Use the script.
makedocker --help
Please raise an issue or a pull request if you want to solve this. Thank you in advance.
- No alpine support.
- No mainline bullseye or stable bookworm.
- No testing.