Add user creation and switch to non-root user in Dockerfile
All checks were successful
Push Docker image / build (push) Successful in 2m3s

This commit is contained in:
Edgar P. Burkhart 2025-05-05 17:18:32 +02:00
parent 050810404d
commit 44e1794a11
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -1,2 +1,5 @@
FROM ghcr.io/catthehacker/ubuntu:act-latest
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN useradd uv
USER uv