Skip to content

Commit aa5f1ed

Browse files
authored
Merge pull request #206 from SJrX/issue-205
Resolves #205 - Add collectd-battery plugin so that collectd starts
2 parents 46565ae + dab23ff commit aa5f1ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN true \
3737

3838
# optional packages (e.g. not exist on S390 in alpine 3.13 yet)
3939
RUN apk add --update \
40-
collectd collectd-disk collectd-nginx \
40+
collectd collectd-disk collectd-nginx collectd-battery\
4141
|| true
4242

4343
FROM base as build
@@ -161,11 +161,11 @@ LABEL maintainer="Denys Zhdanov <denis.zhdanov@gmail.com>"
161161

162162
ENV STATSD_INTERFACE udp
163163

164-
COPY conf /
165-
166164
# copy from build image
167165
COPY --from=build /opt /opt
168166

167+
COPY conf /
168+
169169
# defaults
170170
EXPOSE 80 2003-2004 2013-2014 2023-2024 8080 8125 8125/udp 8126
171171
VOLUME ["/opt/graphite/conf", "/opt/graphite/storage", "/opt/graphite/webapp/graphite/functions/custom", "/etc/nginx", "/opt/statsd/config", "/etc/logrotate.d", "/var/log", "/var/lib/redis"]

0 commit comments

Comments
 (0)