diff --git a/Dockerfile b/Dockerfile index 88352e3..5ebc4c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.10 as base +FROM alpine:3.10.2 as base LABEL maintainer="Denys Zhdanov " RUN true \ @@ -53,7 +53,7 @@ RUN true \ && virtualenv /opt/graphite \ && . /opt/graphite/bin/activate \ && pip3 install \ - django==1.11.21 \ + django==1.11.24 \ django-statsd-mozilla \ fadvise \ gunicorn \ diff --git a/conf/entrypoint b/conf/entrypoint index ec5eb3b..da1f7c8 100755 --- a/conf/entrypoint +++ b/conf/entrypoint @@ -41,8 +41,10 @@ done # remove stale pids find /opt/graphite/storage -maxdepth 1 -name '*.pid' -delete -exec runsvdir -P /etc/service & +# chown logrotate fle (#111) +chown 0644 /etc/logrotate.d/* +exec runsvdir -P /etc/service & RUNSVDIR=$! echo "Started runsvdir, PID is $RUNSVDIR" echo "wait for processes to start...."