Files
docker-smokeping/Dockerfile
sparklyballs 3eeec9688b sed in place
2017-04-12 23:44:04 +01:00

29 lines
536 B
Docker
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
FROM lsiobase/alpine:3.5
MAINTAINER LinuxServer.io <ironicbadger@linuxserver.io>, sparklyballs
# install packages
RUN \
apk add --no-cache \
apache2 \
apache2-utils \
curl \
smokeping \
ssmtp \
sudo \
ttf-dejavu
# give abc sudo access to traceroute
RUN \
echo "abc ALL=(ALL) NOPASSWD: /usr/bin/traceroute" >> /etc/sudoers.d/traceroute
# fix path to cropper.js
RUN \
sed -i 's#src="/cropper/#/src="cropper/#' /etc/smokeping/basepage.html
# add local files
COPY root/ /
# ports and volumes
EXPOSE 80
VOLUME /config /data