for node-red new functionality Projects - where one can sync with a git repo, I need ssh-keygen
in my Alpine docker Image. According to Alpine Linux packages for v3.6, it is in the openssh-keygen
package.
Thus, I added the RUN commands as follows in the Dockerfile, with no luck.
......
RUN apk update && \
apk add --no-cache \
openssh-keygen
......
I then test to see if it gets into the Image, by creating a container from the Image, doing a docker exec -it containername sh
and then typing ssh-keygen
- but do not find it.
Also not working if I replace openssh-keygen
with openssh
under the RUN command in the Dockerfile.
Can someone please point me in the right direction?
Thanks to @PrasadK - which nudged me along, the answer to Node- Red new Projects feature since version 0.18.3 - in order to have a remote repo - using this function in Node-Red Projects, the underlying docker image requires ssh-keygen. Do this in the Dockerfile with:
......
RUN apk update && \
apk add --no-cache \
openssh-keygen
......
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With