1.1. Building the Docker image
- Prerequisites:
- You must place
id_rsa
file asroles/kepler/files/id_rsa and roles/ual/files/id_rsa
- The
id_rsa
file contains private key which allows passwordless login to ssh://git@git.iter.org
- You must place
- External documentation: http://docs.ansible.com/ansible-container/
Steps:
# git-clone the main repo and make a small patch git clone https://github.com/ansible/ansible-container.git # create virtualenv with ansible-container virtualenv venv source venv/bin/activate pip install -e ansible-container # git-clone this repository and start the build git clone https://bitbucket.org/tzok/imas-container cd imas-container ansible-container --vars-files vars.yml build # once ready, save the image $ docker save imas-installer:latest | xz --threads=0 > imas-installer-latest.tar.xz