1234567891011121314151617181920 |
- FROM quay.io/ansible/awx-ee:0.6.0
- USER root
- # add Ansible galaxy dependencies
- ADD requirements.yml /tmp/requirements.yml
- # install packages
- RUN pip install --upgrade \
- omsdk \
- netaddr
- # install Ansible Galaxy collections
- RUN ansible-galaxy collection install -r /tmp/requirements.yml --collections-path /usr/share/ansible/collections
- # add certificates
- RUN update-ca-trust force-enable
- RUN chmod -R 0777 /usr/share/ansible/collections
- USER 1000
|