mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-27 05:43:11 +00:00
15 lines
454 B
Docker
15 lines
454 B
Docker
FROM quay.io/operator-framework/ansible-operator:v0.17.0
|
|
|
|
# Install kubectl.
|
|
COPY --from=lachlanevenson/k8s-kubectl:v1.18.3 /usr/local/bin/kubectl /usr/local/bin/kubectl
|
|
|
|
# Install Ansible requirements.
|
|
COPY requirements.yml ${HOME}/requirements.yml
|
|
RUN ansible-galaxy collection install -r ${HOME}/requirements.yml \
|
|
&& chmod -R ug+rwx ${HOME}/.ansible
|
|
|
|
COPY watches.yaml ${HOME}/watches.yaml
|
|
|
|
COPY main.yml ${HOME}/main.yml
|
|
COPY roles/ ${HOME}/roles/
|