Public Repository

Last pushed: 10 months ago
Short Description
RKHUNTER with Hypriot/rpi-alpine-scratch
Full Description

Dockerfile for rkhunter

#

FROM hypriot/rpi-alpine-scratch
MAINTAINER Informov informov.com@gmail.com

RUN apk update \
&& apk upgrade \
&& apk add wget \
&& wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.
2/rkhunter-1.4.2.tar.gz \
&& wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.
2/rkhunter-1.4.2.tar.gz.sha256 \
&& sha256sum -c rkhunter-1.4.2.tar.gz.sha256 \
&& tar zxfv rkhunter-1.4.2.tar.gz -C /tmp \
&& cd /tmp/rkhunter-1.4.2/ \
&& ./installer.sh --layout /usr --install \
&& sed 's/LOGFILE=\/var\/log\/rkhunter.log/LOGFILE=\/data\/rkhunter.log/g' /etc/rkhunte
r.conf > rkhunter.conf \
&& mv rkhunter.conf /etc/rkhunter.conf \
&& cat /etc/rkhunter.conf

WORKDIR /data

ENTRYPOINT ["rkhunter"]
CMD ["--help"]

Docker Pull Command
Owner
informov

Comments (0)