From 54ff25d6c190b1aa731189b6982bcf4ea43b5a65 Mon Sep 17 00:00:00 2001 From: "Stephen Lewis (Burrows)" Date: Thu, 28 Mar 2024 13:45:08 -0700 Subject: [PATCH] Remove ssh-keyscan usage (#10318) --- .ci/containers/go-plus/Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.ci/containers/go-plus/Dockerfile b/.ci/containers/go-plus/Dockerfile index b37e5ee8b996..0b6d00198d69 100644 --- a/.ci/containers/go-plus/Dockerfile +++ b/.ci/containers/go-plus/Dockerfile @@ -20,10 +20,6 @@ ENV GOCACHE=/go/cache COPY --from=builder /go/pkg/mod /go/pkg/mod COPY --from=builder /go/cache /go/cache -# Set up Github SSH cloning. -RUN ssh-keyscan github.com >> /known_hosts -RUN echo "UserKnownHostsFile /known_hosts" >> /etc/ssh/ssh_config - RUN apt-get update && \ apt-get install -y git jq unzip parallel curl && \ echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \