Commit 71825ed8 by George Song

Add `install:system-requirements` build tag

Cherry picked from e4cacb16
parent 1b93d1a3
# To build this Dockerfile:
#
# From the root of configuration:
#
# docker build -f docker/build/edxapp/Dockerfile .
#
# This allows the dockerfile to update /edx/app/edx_ansible/edx_ansible
# with the currently checked-out configuration repo.
FROM edxops/precise-common:latest
MAINTAINER edxops
......@@ -8,7 +17,11 @@ ADD . /edx/app/edx_ansible/edx_ansible
COPY docker/build/edxapp/ansible_overrides.yml /
WORKDIR /edx/app/edx_ansible/edx_ansible/docker/plays
COPY docker/build/edxapp/ansible_overrides.yml /
RUN /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook edxapp.yml -i '127.0.0.1,' -c local -e "EDXAPP_PYTHON_SANDBOX=false" -t "install:base,install:configuration,install:app-requirements,install:code" -e@/ansible_overrides.yml
RUN /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook \
edxapp.yml -i '127.0.0.1,' -c local \
-e "EDXAPP_PYTHON_SANDBOX=false" \
-e@/ansible_overrides.yml \
-t "install:base,install:configuration,install:system-requirements,install:app-requirements,install:code"
WORKDIR /edx/app
CMD ["/edx/app/supervisor/venvs/supervisor/bin/supervisord", "-n", "--configuration", "/edx/app/supervisor/supervisord.conf"]
EXPOSE 8000 8010
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment