Add many containers

This commit is contained in:
phil 2025-06-29 03:09:10 +02:00
parent 65b2f9c0a8
commit ef2be1ec27
11 changed files with 51 additions and 31 deletions

7
Containerfile.aiosmtpd Normal file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env -S podman build -t code.philo.ydns.eu/philorg/aiosmtpd -f Containerfile.aiosmtpd
FROM python:alpine
RUN --mount=from=ghcr.io/astral-sh/uv,source=/uv,target=/bin/uv uv pip install --system aiosmtpd
ENTRYPOINT ["aiosmtpd", "-n"]

View file

@ -1,8 +0,0 @@
# Build: podman build -t code.philo.ydns.eu/philorg/python-ci -f Containerfile.ci
FROM code.philo.ydns.eu/philorg/trixie_python:latest
RUN apt-get -y --no-install-recommends install nodejs git python3-pytest python3-httpx buildah podman curl && \
apt-get clean && \
rm -rf /var/lib/apt/listsd/* && \
rm -rf /root/.cache

7
Containerfile.git Normal file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env -S podman build -t code.philo.ydns.eu/philorg/git -f Containerfile.git
FROM docker.io/alpine
RUN apk add --no-cache git
ENTRYPOINT ["git"]

6
Containerfile.pnpm Normal file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env -S podman build -t code.philo.ydns.eu/philorg/pnpm -f Containerfile.pnpm
FROM docker.io/node:alpine
RUN npm install -g pnpm
ENTRYPOINT [ "pnpm" ]
CMD [ "i" ]

6
Containerfile.pnpm-deb Normal file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env -S podman build -t code.philo.ydns.eu/philorg/pnpm-deb -f Containerfile.pnpm-deb
FROM docker.io/node:slim
RUN npm install -g pnpm
ENTRYPOINT [ "pnpm" ]
CMD [ "i" ]

7
Containerfile.podman Normal file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env -S podman build -t code.philo.ydns.eu/philorg/podman -f Containerfile.podman
FROM node:alpine
RUN apk add --no-cache podman fuse-overlayfs
ENTRYPOINT ["podman"]

4
Containerfile.podman-geo Normal file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env -S podman build -t code.philo.ydns.eu/philorg/podman-geo -f Containerfile.podman-geo
FROM quay.io/podman/stable:latest
RUN apk add --no-cache proj-util

5
Containerfile.python-git Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env -S podman build -t code.philo.ydns.eu/philorg/python-git -f Containerfile.python-git
FROM docker.io/python:alpine
RUN apk add --no-cache git

View file

@ -1,23 +0,0 @@
# Build: podman build -t code.philo.ydns.eu/philorg/trixie_python -f Containerfile.trixie_python
FROM docker.io/debian:trixie-slim
RUN <<EOT
apt-get update -qy
apt-get install -qyy \
-o APT::Install-Recommends=false \
-o APT::Install-Suggests=false \
ca-certificates \
python-is-python3
apt-get clean
EOT
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
ENV UV_LINK_MODE=copy \
UV_COMPILE_BYTECODE=1 \
UV_PYTHON_DOWNLOADS=never \
#UV_PYTHON=python3.12 \
UV_PROJECT_ENVIRONMENT=/app \
PYTHONPATH=/app/lib/python3.12/site-packages \
PATH=/app/bin:$PATH

4
Containerfile.uv Normal file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env -S podman build -t code.philo.ydns.eu/philorg/uv -f Containerfile.uv
FROM ghcr.io/astral-sh/uv:python3.13-alpine
RUN apk add --no-cache git

5
Containerfile.uv-geo Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env -S podman build -t code.philo.ydns.eu/philorg/uv-geo -f Containerfile.uv-geo
FROM python:slim
RUN apt-get update && apt-get install -y git
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/