12 lines
407 B
Docker
12 lines
407 B
Docker
# Custom AWX Execution Environment with NetBox support
|
|
# Extends the official AWX EE and installs pynetbox and the netbox collection
|
|
FROM quay.io/ansible/awx-ee:latest
|
|
|
|
USER root
|
|
# Install python dependency and the NetBox Ansible collection
|
|
RUN pip install --no-cache-dir pynetbox \
|
|
&& ansible-galaxy collection install netbox.netbox || true
|
|
|
|
# Drop back to non-root user used by the base image
|
|
USER 1000
|