summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-09 12:53:13 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-09 12:53:13 +0200
commitd7e6fe77ee71ea2a894fcd02f4c12946bbbf1c44 (patch)
treea32ab53b1da6d38c64012209f4920a79ec3142d6
parent317f696cea81a1ab069934fb90c6bca45f14a7ca (diff)
downloadarch32-slave-d7e6fe77ee71ea2a894fcd02f4c12946bbbf1c44.tar.xz
fix hostkey identificationmain
-rw-r--r--slave.Dockerfile5
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