summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-07 15:35:32 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-07 15:35:32 +0200
commit3052156dd69d1a23ea2bd8a3cdb2d186aaee71cd (patch)
tree8730ed6000be98a0b19b18179bd4a72f0f2a5592
parent7a646c95023c53e3f9d66a19f4bf5784586beebe (diff)
downloadarch32-slave-3052156dd69d1a23ea2bd8a3cdb2d186aaee71cd.tar.xz
more setup stuff
-rw-r--r--slave.Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/slave.Dockerfile b/slave.Dockerfile
index e1eba96..604b8b2 100644
--- a/slave.Dockerfile
+++ b/slave.Dockerfile
@@ -15,14 +15,16 @@ RUN sed -i ' \
' /etc/makepkg.conf
RUN useradd -m builder
RUN git clone https://git.archlinux32.org/builder/ /builder
-RUN mkdir /builder/work
-RUN chown builder:builder /builder/work
+RUN mkdir /builder/work
+RUN mkdir /builder/.gnupg
+RUN chown builder:builder /builder/work /builder/.gnupg
USER builder
RUN /builder/lib/load-configuration
RUN rm /builder/work/.ssh/id_rsa /builder/work/.ssh/id_rsa.pub
COPY slave.conf /builder/conf/
+RUN echo 'keyserver-options auto-key-retrieve' >> .gnupg/gpg.conf
CMD /builder/bin/build-packages