docker-smokeping/Dockerfile
2016-07-25 09:22:11 +01:00

23 lines
406 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
MAINTAINER LinuxServer.io <ironicbadger@linuxserver.io>, sparklyballs
# install packages
RUN \
apk add --no-cache \
apache2 \
apache2-utils \
smokeping \
ssmtp \
sudo
# give abc sudo access to traceroute
RUN \
echo "abc ALL=(ALL) NOPASSWD: /usr/bin/traceroute" >> /etc/sudoers.d/traceroute
# add local files
COPY root/ /
# ports and volumes
EXPOSE 80
VOLUME /config /data