1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-30 02:31:31 +00:00

upgdate graphite

This commit is contained in:
kev 2017-03-14 16:25:09 +08:00
parent d188cc2a2a
commit d6c0cf1ebb
2 changed files with 4 additions and 3 deletions

@ -34,6 +34,7 @@ RUN set -xe \
&& cd ../webapp \ && cd ../webapp \
&& echo "SECRET_KEY = '$(head -c 16 /dev/urandom | base64)'" > graphite/local_settings.py \ && echo "SECRET_KEY = '$(head -c 16 /dev/urandom | base64)'" > graphite/local_settings.py \
&& curl -sSL https://github.com/graphite-project/graphite-web/raw/master/webapp/manage.py > manage.py \ && curl -sSL https://github.com/graphite-project/graphite-web/raw/master/webapp/manage.py > manage.py \
&& chmod +x manage.py \
&& python manage.py migrate --run-syncdb --noinput \ && python manage.py migrate --run-syncdb --noinput \
&& apk del build-base \ && apk del build-base \
curl \ curl \