Remove PGP keys recive in Dokerfile. And add auto PGP keys sacn and rec in build.sh

This commit is contained in:
2026-08-26 21:56:59 +02:00
parent c3bb4bde9c
commit fdf3c9e4bf
2 changed files with 21 additions and 6 deletions
+2 -5
View File
@@ -12,15 +12,11 @@ RUN pacman-key --init \
RUN pacman -Suyy --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
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
# Clean pacman cache
RUN pacman -Scc
# Recieve Linus and Greg keys for linux kernel sources
RUN gpg --recv-keys 647F28654894E3BD457199BE38DBBDC86092693E ABAF11C65A2970B130ABE3C479BE3E4300411886
# Config to use 16 thread for building
RUN printf 'MAKEFLAGS="-j16"\n' > /etc/makepkg.conf.d/j16.conf
@@ -32,6 +28,7 @@ RUN useradd -m builduser \
&& passwd -d builduser \
&& printf 'builduser ALL=(ALL) ALL\n' >> /etc/sudoers
# Set working directory
WORKDIR /home/builduser