This commit is contained in:
parent
4a4c919cfe
commit
8751197146
1 changed files with 8 additions and 6 deletions
14
Dockerfile
14
Dockerfile
|
@ -1,7 +1,9 @@
|
||||||
FROM ghcr.io/catthehacker/ubuntu:act-latest
|
FROM archlinux:base-devel
|
||||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
|
||||||
|
|
||||||
RUN useradd uv
|
RUN pacman -Syu --needed --noconfirm nodejs git
|
||||||
RUN mkdir -p /home/uv
|
|
||||||
RUN chown -R uv:uv /home/uv
|
RUN useradd -d /build -m build
|
||||||
USER uv
|
USER build
|
||||||
|
|
||||||
|
WORKDIR /build
|
||||||
|
RUN echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue