Closed b0ric closed 6 years ago
Image build fails for me on this step:
RUN ssh-keyscan -t rsa bitbucket.org >> /root/.ssh/known_hosts \ && ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts
with the following error:
/bin/sh: 1: cannot create /root/.ssh/known_hosts: Directory nonexistent
Let's change it to
RUN mkdir /root/.ssh && chmod 0700 /root/.ssh \ && ssh-keyscan -t rsa bitbucket.org >> /root/.ssh/known_hosts \ && ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts
what do you think?
Yea let me change that, thanks!
Fixed, thanks @b0ric
Image build fails for me on this step:
with the following error:
Let's change it to
what do you think?