Revert "Create home directory for user 'uv' and set ownership in Dockerfile"
All checks were successful
Push Docker image / build (push) Successful in 2m29s
All checks were successful
Push Docker image / build (push) Successful in 2m29s
This reverts commit 8f056139f1
.
This commit is contained in:
parent
6689c92793
commit
8377744510
1 changed files with 4 additions and 8 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,9 +1,5 @@
|
|||
FROM archlinux:base-devel
|
||||
FROM ghcr.io/catthehacker/ubuntu:act-latest
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||
|
||||
RUN pacman -Syu --needed --noconfirm nodejs git
|
||||
|
||||
RUN useradd -d /build -m build
|
||||
USER build
|
||||
|
||||
WORKDIR /build
|
||||
RUN echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
RUN useradd uv
|
||||
USER uv
|
Loading…
Add table
Add a link
Reference in a new issue