diff options
Diffstat (limited to 'slave.Dockerfile')
-rw-r--r-- | slave.Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/slave.Dockerfile b/slave.Dockerfile index 604b8b2..78f066e 100644 --- a/slave.Dockerfile +++ b/slave.Dockerfile @@ -18,11 +18,14 @@ RUN git clone https://git.archlinux32.org/builder/ /builder RUN mkdir /builder/work RUN mkdir /builder/.gnupg -RUN chown builder:builder /builder/work /builder/.gnupg +RUN mkdir /builder/.ssh +RUN chown builder:builder /builder/work /builder/.gnupg /builder/.ssh +RUN rm /etc/ssh/ssh_config.d/20-systemd-ssh-proxy.conf USER builder RUN /builder/lib/load-configuration +RUN ssh -o PasswordAuthentication=No -o StrictHostKeyChecking=No -o UpdateHostKeys=Yes master@buildmaster.archlinux32.org get-assignment || : 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 |