Skip to content

Commit

Permalink
Remove ssh-keyscan usage (#10318)
Browse files Browse the repository at this point in the history
  • Loading branch information
melinath authored Mar 28, 2024
1 parent bfe6e93 commit 54ff25d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .ci/containers/go-plus/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 54ff25d

Please sign in to comment.