mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
17 lines
303 B
Docker
17 lines
303 B
Docker
#
|
|
# Dockerfile for vnstat
|
|
#
|
|
|
|
FROM debian:jessie
|
|
MAINTAINER kev <noreply@easypi.info>
|
|
|
|
RUN set -xe \
|
|
&& apt-get update \
|
|
&& apt-get install -y vnstat vnstati \
|
|
&& sed -i '/UseLogging/s/2/0/' /etc/vnstat.conf \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
VOLUME /var/lib/vnstat
|
|
|
|
CMD ["vnstatd", "-n"]
|