FROM alpine:latest RUN apk --no-cache add collectd collectd-python collectd-network tzdata \ py3-pip gettext && \ apk add --no-cache --virtual .build-deps \ git libxslt-dev gcc musl-dev python3-dev && \ git clone --depth 1 https://github.com/fetzerch/fritzcollectd.git && \ cd fritzcollectd && \ pip3 install --no-cache-dir . && \ apk del .build-deps && \ rm -rf .git/ && \ apk --no-cache add libxslt COPY ./root / ENTRYPOINT /entrypoint.sh