Create home directory for user 'uv' and set ownership in Dockerfile
This commit is contained in:
parent
44e1794a11
commit
8f056139f1
1 changed files with 2 additions and 0 deletions
|
@ -2,4 +2,6 @@ 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
|
RUN useradd uv
|
||||||
|
RUN mkdir -p /home/uv
|
||||||
|
RUN chown -R uv:uv /home/uv
|
||||||
USER uv
|
USER uv
|
Loading…
Add table
Add a link
Reference in a new issue