Unverified Commit e6a9f504 by Michael Youngstrom Committed by GitHub

Merge pull request #4665 from edx/youngstrom/chown-plat

Chown edx-platform for jenkins-worker image
parents 2af7e659 8fa16302
...@@ -51,8 +51,7 @@ RUN mkdir /var/run/sshd \ ...@@ -51,8 +51,7 @@ RUN mkdir /var/run/sshd \
&& useradd -ms /bin/bash ubuntu -g ubuntu -d /home/ubuntu \ && useradd -ms /bin/bash ubuntu -g ubuntu -d /home/ubuntu \
&& curl ${JENKINS_WORKER_KEY_URL} --create-dirs -o /home/ubuntu/.ssh/authorized_keys && curl ${JENKINS_WORKER_KEY_URL} --create-dirs -o /home/ubuntu/.ssh/authorized_keys
RUN chown -R ubuntu /home/ubuntu RUN chown -R ubuntu /home/ubuntu /edx/app/edxapp/edx-platform
RUN chown ubuntu /edx/app/edxapp/edx-platform
CMD ["/edx/app/supervisor/venvs/supervisor/bin/supervisord", "-n", "--configuration", "/edx/app/supervisor/supervisord.conf"] CMD ["/edx/app/supervisor/venvs/supervisor/bin/supervisord", "-n", "--configuration", "/edx/app/supervisor/supervisord.conf"]
EXPOSE 22 EXPOSE 22
...@@ -32,7 +32,7 @@ weights: ...@@ -32,7 +32,7 @@ weights:
- mongo: 1 - mongo: 1
- devpi: 1 - devpi: 1
- jenkins_build: 8 - jenkins_build: 8
- jenkins_worker: 22 - jenkins_worker: 23
- analytics_pipeline: 8 - analytics_pipeline: 8
- analytics_pipeline_hadoop_datanode: 2 - analytics_pipeline_hadoop_datanode: 2
- analytics_pipeline_hadoop_namenode: 3 - analytics_pipeline_hadoop_namenode: 3
......
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