Revert "Create home directory for user 'uv' and set ownership in Dockerfile"
Some checks are pending
Push Docker image / build (push) Waiting to run
Some checks are pending
Push Docker image / build (push) Waiting to run
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 uv
|
||||||
|
USER uv
|
||||||
RUN useradd -d /build -m build
|
|
||||||
USER build
|
|
||||||
|
|
||||||
WORKDIR /build
|
|
||||||
RUN echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
|
Loading…
Add table
Add a link
Reference in a new issue