Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

putting an ssh key in the Voodoo container

rvalyi edited this page Oct 3, 2014 · 1 revision

by default, Voodoo will not put any SSH key inside the Docker container for security reasons.

But you can decide to mount your personal SSH key or any SSH key inside the container, for instance to be able to let the Buildout checkout some private branch (you could also check it out in the parts directory from outside the container).

To do that, before starting the container with the /.ak command, just do:

export SSH_KEY=some_private_key_file
./ak

for instance export SSH_KEY= ~/.ssh/id_rsa for your personal key. This will copy the key file and immediately put it at the right place inside the container, so that the copy will disappear after the container has been stopped.

If Buildout failed to download some repo because of some SSH error access, you may need to delete the related directory in the parts directory to be able to run Buildout again.

Please remember that Odoo and OCA ecosystem and most of the rest of the eco-system is AGPL licensed. this private repo facility isn't meant to cheat the license.

Clone this wiki locally