Files
archmakepkg/Dockerfile
ytshih 9bb285f53c
All checks were successful
Release / release-image (push) Successful in 3m1s
Remove: run.sh
2024-10-18 17:37:23 +00:00

23 lines
524 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 -G wheel -d /build builder
ENV MINIO_HOST="minio.konchin.com"
ENV MINIO_PORT="443"
ENV MINIO_BUCKET="archrepo"
ENV MINIO_ACCESSKEY=""
ENV MINIO_SECRETKEY=""
ENV REPO_NAME="custom"
WORKDIR /build
ENTRYPOINT ["/usr/bin/env"]
CMD ["bash"]