Files
archmakepkg/Dockerfile
ytshih 5947e91f0c
All checks were successful
Release / release-image (push) Successful in 2m20s
Add: local repo
2024-10-19 02:10:12 +00:00

20 lines
490 B
Docker

FROM archlinux:base-devel
RUN >> /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"]