Use alpine image for containers
All checks were successful
ci/woodpecker/push/tests Pipeline was successful

This commit is contained in:
Sonny Bakker 2025-04-30 08:23:55 +02:00
parent 54ab31b853
commit 97cf1a8f5c

View file

@ -1,13 +1,15 @@
FROM ghcr.io/astral-sh/uv:python3.11-bookworm
FROM python:3.11-alpine
ARG UV_ARGS=""
COPY --from=ghcr.io/astral-sh/uv:python3.11-alpine /uv /uvx /bin/
# copy from the cache instead of linking since mounted volumes are used
ENV UV_LINK_MODE=copy
ENV UV_CACHE_DIR=/app/.cache/uv
ENV PATH="/app/.venv/bin:$PATH"
RUN useradd --shell /bin/bash --uid 1000 transip_client
RUN useradd --uid 1000 transip_client
USER transip_client