forked from Spark/builder
gnupg stuff
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
d07c3748a9
commit
9f1e311b5e
|
@ -7,3 +7,6 @@ RUN pacman -Suy --noconfirm base-devel git
|
||||||
|
|
||||||
COPY ./builder.sudoers /etc/sudoers.d/builder
|
COPY ./builder.sudoers /etc/sudoers.d/builder
|
||||||
COPY ./build /build
|
COPY ./build /build
|
||||||
|
|
||||||
|
COPY gnupg /.gnupg
|
||||||
|
RUN chmod 700 /.gnupg
|
||||||
|
|
|
@ -6,11 +6,12 @@ export LC_ALL=en_US.UTF-8
|
||||||
export PKG_URL=$1
|
export PKG_URL=$1
|
||||||
|
|
||||||
# Upgrade
|
# Upgrade
|
||||||
sudo pacman -Suy --noconfirm
|
pacman -Suy --noconfirm
|
||||||
|
|
||||||
# Workdir
|
# Workdir
|
||||||
|
chown -R builder:builder /.gnupg
|
||||||
cd /buildroot
|
cd /buildroot
|
||||||
|
|
||||||
# Build the damn thing
|
# Build the damn thing
|
||||||
git clone "$PKG_URL" .
|
sudo -u builder git clone "$PKG_URL" .
|
||||||
makepkg -s --noconfirm -L
|
sudo -u builder GNUPGHOME="/.gnupg" makepkg -s --noconfirm -L
|
||||||
|
|
Loading…
Reference in New Issue
Block a user