Lon Nix
11/03/2021, 2:47 PMFROM prefecthq/prefect:latest
RUN apt update && apt install -y openssh-client
However now I get this every run Failed to load and execute Flow's environment: HangupException('Host key verification failed.\r')
I created a known_hosts file by adding this to the Dockerfile but it didn't help.
RUN mkdir ~/.ssh && ssh-keyscan -t rsa <http://github.com|github.com> >> ~/.ssh/known_hosts
Any thoughts?Anna Geller
11/03/2021, 2:54 PMLon Nix
11/03/2021, 2:56 PMAnna Geller
11/03/2021, 3:00 PMLon Nix
11/03/2021, 3:02 PMAnna Geller
11/03/2021, 4:12 PMdocker run -it your_image bash
• manually clone the repo from the interactive terminal in the container: git clone <ssh repo url> to see if this worksLon Nix
11/03/2021, 4:14 PMgit
on it. I have one other thing to test before installing git and going down that path. Thanks