mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Fix official image builds
I broke everything in https://github.com/ansible/awx/pull/11242. These changes were necessary in order to run `awx-manage collectstatic` without a running database.
This commit is contained in:
@@ -78,7 +78,8 @@ WORKDIR /tmp/src/
|
||||
RUN make sdist && /var/lib/awx/venv/awx/bin/pip install dist/awx.tar.gz
|
||||
|
||||
{% if not headless|bool %}
|
||||
RUN /var/lib/awx/venv/awx/bin/awx-manage collectstatic --noinput --clear
|
||||
ADD tools/ansible/roles/dockerfile/files/settings.py /etc/tower/settings.py
|
||||
RUN SKIP_PG_VERSION_CHECK=yes /var/lib/awx/venv/awx/bin/awx-manage collectstatic --noinput --clear
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user