Revert "Create home directory for user 'uv' and set ownership in Dockerfile"
Some checks are pending
Push Docker image / build (push) Waiting to run

This reverts commit 8f056139f1.
This commit is contained in:
Edgar P. Burkhart 2025-05-05 18:35:44 +02:00
parent 6689c92793
commit 8377744510
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -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