Adding Makefile targets for local builds/deployments

Updating paths
This commit is contained in:
Matthew Jones
2017-06-30 15:25:42 -04:00
parent 4c32597873
commit 0ee3ad8c14
4 changed files with 35 additions and 13 deletions

View File

@@ -38,10 +38,10 @@ COPY dist/ansible-tower-3.2.0.tar.gz /tmp/ansible-tower-3.2.0.tar.gz
RUN pip install /tmp/ansible-tower-3.2.0.tar.gz
# TODO: Replace this with the actual version
RUN echo "3.2.0" > /var/lib/awx/.tower_version
ADD packaging/docker/nginx.conf /etc/nginx/nginx.conf
ADD packaging/docker/supervisor_task.conf /supervisor_task.conf
ADD packaging/docker/launch_tower_task.sh /usr/bin/launch_tower_task.sh
ADD packaging/docker/settings.py /etc/tower/settings.py
ADD installer/openshift/nginx.conf /etc/nginx/nginx.conf
ADD installer/openshift/supervisor_task.conf /supervisor_task.conf
ADD installer/openshift/launch_tower_task.sh /usr/bin/launch_tower_task.sh
ADD installer/openshift/settings.py /etc/tower/settings.py
RUN yum -y remove gcc postgresql-devel libxml2-devel libxslt-devel cyrus-sasl-devel openldap-devel xmlsec1-devel krb5-devel xmlsec1-openssl-devel libtool-ltdl-devel gcc-c++ python-devel && yum -y clean all
RUN rm -rf /root/.cache
RUN chmod g+w /etc/passwd