Don't write a tower_version file in awx

This commit is contained in:
Bill Nottingham
2020-10-31 23:10:22 -04:00
committed by Ryan Petrello
parent 1a4f2f43b7
commit 7a9eff7e65
3 changed files with 11 additions and 7 deletions

View File

@@ -74,7 +74,7 @@ RUN cd /tmp && make requirements_awx_dev requirements_ansible_dev
{% endif %}
{% if not build_dev|bool %}
COPY {{ awx_sdist_file }} /tmp/{{ awx_sdist_file }}
RUN mkdir -p -m 755 /var/lib/awx && echo "{{ awx_version }}" > /var/lib/awx/.tower_version && \
RUN mkdir -p -m 755 /var/lib/awx && \
OFFICIAL=yes /var/lib/awx/venv/awx/bin/pip install /tmp/{{ awx_sdist_file }}
{% endif %}