Files
archmakepkg/Dockerfile
ytshih 52fb38bac9
Some checks failed
Release / release-image (push) Has been cancelled
Fix: here document I cant
2024-10-19 02:21:59 +00:00

20 lines
496 B
Docker

FROM archlinux:base-devel
RUN cat >> /etc/pacman.conf <<'EOF'
[custom]
SigLevel = Optional TrustAll
Server = http://repo.konchin.com/$repo/os/$arch
EOF
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"]