Unverified Commit 16442d1d by Fred Smith Committed by GitHub

Merge pull request #4687 from edx/jmbowman/fix_images_for_release

Support named releases of analytics_pipeline and notes images
parents d779ca86 2ed378d5
FROM edxops/xenial-common:latest
ARG BASE_IMAGE_TAG=latest
FROM edxops/xenial-common:${BASE_IMAGE_TAG}
MAINTAINER edxops
USER root
......@@ -117,7 +118,12 @@ RUN chown hadoop:hadoop /etc/bootstrap.sh \
&& chown -R hadoop:hadoop /edx/app/hadoop
# Analytics pipeline
ARG OPENEDX_RELEASE=master
ENV OPENEDX_RELEASE=${OPENEDX_RELEASE}
RUN git clone https://github.com/edx/edx-analytics-pipeline \
&& cd edx-analytics-pipeline \
&& git checkout ${OPENEDX_RELEASE} \
&& cd .. \
&& cp /var/tmp/edx-analytics-pipeline/Makefile /var/tmp/Makefile \
&& cp -r /var/tmp/edx-analytics-pipeline/requirements /var/tmp/requirements \
&& rm -rf /var/tmp/edx-analytics-pipeline
......
......@@ -7,10 +7,13 @@
# This allows the dockerfile to update /edx/app/edx_ansible/edx_ansible
# with the currently checked-out configuration repo.
FROM edxops/xenial-common:latest
ARG BASE_IMAGE_TAG=latest
FROM edxops/xenial-common:${BASE_IMAGE_TAG}
MAINTAINER edxops
ENV NOTES_VERSION=master
ARG OPENEDX_RELEASE=master
ENV OPENEDX_RELEASE=${OPENEDX_RELEASE}
ENV NOTES_VERSION=${OPENEDX_RELEASE}
ENV REPO_OWNER=edx
ADD . /edx/app/edx_ansible/edx_ansible
......@@ -25,5 +28,5 @@ RUN sudo /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook notes.yml \
--extra-vars="EDX_NOTES_API_VERSION=$NOTES_VERSION" \
--extra-vars="COMMON_GIT_PATH=$REPO_OWNER"
USER root
USER root
CMD ["/edx/app/supervisor/venvs/supervisor/bin/supervisord", "-n", "--configuration", "/edx/app/supervisor/supervisord.conf"]
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