| LABEL org.opencontainers.image.title=Pigment Development Image |
| LABEL org.opencontainers.image.authors=Devband Team |
| ADD pigment-rootfs-x86_64.tar.zst / # buildkit |
| COPY pacman_auto makepkg_auto /usr/bin/ # buildkit |
| COPY pacman.conf /etc/pacman.conf # buildkit |
| RUN /bin/sh -c pacman-key --init && pacman-key --populate && pacman-key --lsign-key 'phi@noreply.git.devband.ru' 'tau@noreply.git.devband.ru' && pacman -Syu --noconfirm && pacman -S expect --noconfirm && pacman_auto -S --needed glibc glibc-locales git nodejs pacman-contrib sudo nvchecker jq aria2 tar less python-lxml iptables-nft && rm -rf /var/cache/pacman/pkg/* && pacman_auto -Scc && useradd -m pkgbuild && echo "pkgbuild ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers && git config --system user.email "ci@devband.ru" && git config --system user.name "Devband CI" && git config --system pull.rebase true # buildkit |
| COPY makepkg.conf /etc/makepkg.conf # buildkit |
| USER pkgbuild |
| ENV LANG=C.UTF-8 |
| ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl |
| CMD ["/usr/bin/bash"] |