Create home directory for user 'uv' and set ownership in Dockerfile
All checks were successful
Push Docker image / build (push) Successful in 2m16s

This commit is contained in:
Edgar P. Burkhart 2025-05-05 17:25:40 +02:00
parent 44e1794a11
commit 8f056139f1
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -2,4 +2,6 @@ FROM ghcr.io/catthehacker/ubuntu:act-latest
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN useradd uv
RUN mkdir -p /home/uv
RUN chown -R uv:uv /home/uv
USER uv