Add user creation and switch to non-root user in Dockerfile
All checks were successful
Push Docker image / build (push) Successful in 2m3s
All checks were successful
Push Docker image / build (push) Successful in 2m3s
This commit is contained in:
parent
050810404d
commit
44e1794a11
1 changed files with 4 additions and 1 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue