diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-08-09 12:53:13 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-08-09 12:53:13 +0200 |
commit | d7e6fe77ee71ea2a894fcd02f4c12946bbbf1c44 (patch) | |
tree | a32ab53b1da6d38c64012209f4920a79ec3142d6 | |
parent | 317f696cea81a1ab069934fb90c6bca45f14a7ca (diff) | |
download | arch32-slave-d7e6fe77ee71ea2a894fcd02f4c12946bbbf1c44.tar.xz |
fix hostkey identificationmain
-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 |