Files
archmakepkg/Dockerfile
ytshih bb06e9f27c
All checks were successful
Release / release-image (push) Successful in 3m0s
Fix: useradd
2024-10-18 18:31:54 +00:00

15 lines
370 B
Docker

FROM archlinux:base-devel
RUN pacman-key --init && pacman-key --populate
RUN pacman -Syu --needed --noconfirm nodejs minio-client git
ADD rootca.pem /root
RUN trust anchor /root/rootca.pem && update-ca-trust
RUN echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers
RUN useradd -mG wheel -d /build builder
WORKDIR /build
ENTRYPOINT ["/usr/bin/env"]
CMD ["bash"]