26 lines
1020 B
Markdown
26 lines
1020 B
Markdown
# Python Docker
|
|
|
|
This repository contains a series of prebuilt images to help you skip some build steps.
|
|
|
|
## Images
|
|
|
|
- `git.moan.dev/docker/python/with-uv:3.14-alpine`: Python 3.14 Alpine with UV
|
|
preinstalled.
|
|
- `git.moan.dev/docker/python/with-uv:3.13.2-alpine`: Python 3.13.2 Alpine with UV
|
|
preinstalled.
|
|
- `git.moan.dev/docker/python/with-uv:3.12-alpine`: Python 3.12 Alpine with UV
|
|
preinstalled.
|
|
- `git.moan.dev/docker/python/with-uv:3.12-slim`: Python 3.12 Slim with UV
|
|
preinstalled.
|
|
|
|
## Adding a New Image
|
|
|
|
TO create a new image, follow these steps:
|
|
|
|
1. Check whether an image and tag of what you want to add already exists in `./dockerfiles`. If
|
|
there is, modify it in case you need to.
|
|
2. If there's no image of what you want to build, create the Dockerfiles using the
|
|
`./dockerfiles/{image}/{tag}/Dockerfile` template. Check other images for examples.
|
|
3. From the root directory of the repository, run `uv sync && uv run scripts/push.py`.
|
|
4. Follow the steps that are outputted into your console.
|