nikto (staging)
Installation
docker pull git.nixc.us/colin/nikto:staging
sha256:10b210832138d64951701b6afc2bc4f68f40ec9887cdb023b8a68ab340c59073
Image Layers
ADD file:1f4eb46669b5b6275af19eb7471a6899a61c276aa7d925b8ae99310b14b75b92 in / |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --update git # buildkit |
ADD https://api.github.com/repos/sullo/nikto/git/refs/heads/master version.json # buildkit |
RUN /bin/sh -c mkdir /source /nikto && cd /source && git clone https://github.com/sullo/nikto.git # buildkit |
RUN /bin/sh -c mv /source/nikto/program/* /nikto/ # buildkit |
ENV PATH=/nikto:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
RUN /bin/sh -c echo 'Selecting packages to Nikto.' && apk update && apk add --no-cache --virtual .build-deps perl perl-net-ssleay && echo 'Cleaning cache from APK.' && rm -rf /var/cache/apk/* && echo 'Creating the nikto group.' && addgroup nikto && echo 'Creating the user nikto.' && adduser -G nikto -g "Nikto user" -s /bin/sh -D nikto && echo 'Changing the ownership.' && chown -R nikto.nikto /nikto && echo 'Creating a random password for root.' && export RANDOM_PASSWORD=`tr -dc A-Za-z0-9 < /dev/urandom | head -c44` && echo "root:$RANDOM_PASSWORD" | chpasswd && unset RANDOM_PASSWORD && echo 'Locking root account.' && passwd -l root && echo 'Finishing image.' # buildkit |
USER nikto |
ENTRYPOINT ["nikto.pl"] |
Labels
Key | Value |
---|---|
com.docker.compose.project | nikto |
com.docker.compose.service | nikto |
com.docker.compose.version | 2.23.3 |
Details
Versions (2)
View all
production
2024-01-17
staging
2024-01-17