Skip to content

Commit

Permalink
fixed graphite build
Browse files Browse the repository at this point in the history
For some reason /opt/graphite permissions seem to be changed to root:root with docker 0.10.0
  • Loading branch information
tvoran committed Apr 15, 2014
1 parent 6ad476c commit f664428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN adduser --system --group --no-create-home collectd && adduser --system --hom
# Use --system-site-packages so it get access to pycairo (which cannot be installed via pip)
RUN sudo -u graphite virtualenv --system-site-packages ~graphite/env
ADD graphite/requirements.txt /opt/graphite/
RUN sudo -u graphite HOME=/opt/graphite /bin/sh -c ". ~/env/bin/activate && pip install -r /opt/graphite/requirements.txt"
RUN chown -R graphite /opt/graphite && sudo -u graphite HOME=/opt/graphite /bin/sh -c ". ~/env/bin/activate && pip install -r /opt/graphite/requirements.txt"

ADD collectd/collectd.conf /etc/collectd/
ADD supervisor/ /etc/supervisor/conf.d/
Expand Down

0 comments on commit f664428

Please sign in to comment.