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
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||
FROM archlinux:base-devel
|
||||
|
||||
RUN useradd uv
|
||||
RUN mkdir -p /home/uv
|
||||
RUN chown -R uv:uv /home/uv
|
||||
USER uv
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue