summaryrefslogtreecommitdiff
path: root/slave.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'slave.Dockerfile')
-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