node-red / node-red-docker

Repository for all things Node-RED and Docker related
Apache License 2.0
469 stars 382 forks source link

ERROR: failed to solve: process "/bin/sh -c ./known_hosts.sh /etc/ssh/ssh_known_hosts && rm /usr/src/node-red/known_hosts.sh" #380

Closed Jeka95 closed 12 months ago

Jeka95 commented 1 year ago

14:14:49 Dockerfile.custom:38 14:14:49 -------------------- 14:14:49 36 | # Setup SSH known_hosts file 14:14:49 37 | COPY known_hosts.sh . 14:14:49 38 | >>> RUN ./known_hosts.sh /etc/ssh/ssh_known_hosts && rm /usr/src/node-red/known_hosts.sh 14:14:49 39 | RUN echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> /etc/ssh/ssh_config 14:14:49 40 |
14:14:49 -------------------- 14:14:49 ERROR: failed to solve: process "/bin/sh -c ./known_hosts.sh /etc/ssh/ssh_known_hosts && rm /usr/src/node-red/known_hosts.sh" did not complete successfully: exit code: 1

hardillb commented 1 year ago

Can you supply some more details here e.g. the docker build line that you ran to get this error and from what directory you ran it.

Jeka95 commented 1 year ago

Can you supply some more details here e.g. the docker build line that you ran to get this error and from what directory you ran it.

image

if I understood correctly, these values ​​are no longer valid, you updated 2 months ago

Jeka95 commented 1 year ago

Can you supply some more details here e.g. the docker build line that you ran to get this error and from what directory you ran it.

in https://github.com/node-red/node-red-docker/blob/master/docker-custom/Dockerfile.custom 36 line when I build new image

hardillb commented 1 year ago

OK, it looks like bitbucket have changed their SSH key again. I'll update the script

hardillb commented 1 year ago

If you pull the project again it should build now

hardillb commented 12 months ago

3.0.2 builds re-built and available. Closing this now.

oilop9000 commented 11 months ago

looks like it happened again :(

hardillb commented 11 months ago

@oilop9000 You are going to need to supply at least some details here, also please open a new issue rather than comment on an old one.

When you do, please include the output of the docker build command and the git hash of the repo you are building from, as the current checked in version appears to work fine for me when I test it.