Commit f1b990fd authored by Tomáš Pecka's avatar Tomáš Pecka

[archlinux-makepkg]: GPG agent permissions

parent d74937fd
Pipeline #43465 passed with stage
in 1 minute and 11 seconds
FROM archlinux/base
RUN pacman -Sy --needed --noconfirm sudo namcap && \
useradd builder -m && passwd -d builder && printf 'builder ALL=(ALL) ALL\n' | tee -a /etc/sudoers && \
mkdir -p ~builder/.gnupg && \
cat > ~builder/.gnupg/gpg-agent.conf <<< $'allow-preset-passphrase\nmax-cache-ttl 60480000\ndefault-cache-ttl 60480000'
sudo -u builder -- mkdir -p ~builder/.gnupg && \
sudo -u builder -- cat > ~builder/.gnupg/gpg-agent.conf <<< $'allow-preset-passphrase\nmax-cache-ttl 60480000\ndefault-cache-ttl 60480000' && \
cat >> /etc/makepkg.conf <<< $'MAKEFLAGS="-j8"\nPACKAGER="Tomáš Pecka <peckato1@fit.cvut.cz>"'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment