SHA256
Adding rated mirrors makepkg.conf and rust.conf for x86-x64-v2
This commit is contained in:
@@ -5,14 +5,18 @@ FROM artixlinux/artixlinux:base-dinit
|
||||
RUN pacman-key --init \
|
||||
&& pacman-key --recv-keys CAF78E41A83A6D64 \
|
||||
&& pacman-key --lsign-key CAF78E41A83A6D64 \
|
||||
&& printf '[kira-base]\nSigLevel = Required TrustedOnly\nServer = https://repos.kira-linux.org/kira-base/x86_64\n' >> /etc/pacman.conf \
|
||||
&& pacman -Sy
|
||||
&& printf '[kira-base]\nSigLevel = Required TrustedOnly\nServer = https://repos.kira-linux.org/kira-base/x86_64\n' >> /etc/pacman.conf
|
||||
|
||||
|
||||
# Update mirrors
|
||||
# RUN pacman -Syu --noconfirm artix-mirrorlist && mv /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist
|
||||
COPY ./mirrorlist /etc/pacman.d/mirrorlist
|
||||
|
||||
# Update system
|
||||
RUN pacman -Suyy --noconfirm
|
||||
RUN pacman -Suy --noconfirm
|
||||
|
||||
# Install necessary build tools
|
||||
RUN pacman -Suy --noconfirm base-devel git wget sudo make pacman-contrib binutils rust rust-bindgen rust-src libgcc graphviz imagemagick python python-sphinx python-yaml texlive-latexextra llvm
|
||||
RUN pacman -S --noconfirm base-devel git wget sudo make pacman-contrib binutils rust rust-bindgen rust-src libgcc graphviz imagemagick python python-sphinx python-yaml texlive-latexextra llvm
|
||||
|
||||
# Clean pacman cache
|
||||
RUN pacman -Scc
|
||||
@@ -29,6 +33,9 @@ RUN useradd -m builduser \
|
||||
&& printf 'builduser ALL=(ALL) ALL\n' >> /etc/sudoers
|
||||
|
||||
|
||||
COPY ./makepkg.conf /etc/makepkg.conf
|
||||
COPY ./rust.conf /etc/makepkg.conf.d/rust.conf
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /home/builduser
|
||||
|
||||
|
||||
Reference in New Issue
Block a user