mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Made delete prompts use the same styling
made the delete prompts more uniform
This commit is contained in:
22
tools/docker/Dockerfile
Normal file
22
tools/docker/Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
FROM ubuntu:14.04
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y software-properties-common python-software-properties
|
||||
RUN add-apt-repository -y ppa:chris-lea/redis-server; add-apt-repository -y ppa:chris-lea/zeromq
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y tmux git mercurial subversion python-dev python-pip libyaml-dev python-yaml python-paramiko python-jinja2 make postgresql python-psycopg2 python-ldap nodejs npm redis-server python-gevent libzmq3 python-zmq
|
||||
RUN git clone http://d7f73f8614295715a4777bf15f46d0d486ad0e21:x-oauth-basic@github.com/ansible/ansible-commander.git tower
|
||||
RUN pip install Django==1.6.7 django-devserver django-debug-toolbar django-jenkins ipython ansible
|
||||
RUN cd /tower ; make develop
|
||||
RUN /etc/init.d/postgresql start ; su - postgres -c 'ansible -i "127.0.0.1," -c local -v -m postgresql_user -U postgres -a "name=awx-dev password=AWXsome1 login_user=postgres" all'
|
||||
RUN /etc/init.d/postgresql start ; su - postgres -c 'ansible -i "127.0.0.1," -c local -v -m postgresql_db -U postgres -a "name=awx-dev owner=awx-dev login_user=postgres" all'
|
||||
RUN /usr/bin/ssh-keygen -q -t rsa -N "" -f /root/.ssh/id_rsa
|
||||
ADD local_settings.py /tower/awx/settings/local_settings.py
|
||||
RUN mkdir -p /etc/tower
|
||||
ADD license /etc/awx/license
|
||||
ADD license /etc/tower/license
|
||||
RUN /etc/init.d/postgresql start; cd /tower ; make migrate ; make init
|
||||
ADD start_local.sh /start_local.sh
|
||||
|
||||
EXPOSE 8013 8080
|
||||
CMD ./start_local.sh
|
||||
Reference in New Issue
Block a user