debian-cis/shellcheck/Dockerfile.shellcheck

14 lines
334 B
Docker
Raw Normal View History

FROM ubuntu:latest
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y shellcheck
COPY . /opt/debian-cis/
COPY debian/default /etc/default/cis-hardening
RUN sed -i 's#cis-hardening#debian-cis#' /etc/default/cis-hardening
WORKDIR /opt/debian-cis
ENTRYPOINT ["/opt/debian-cis/shellcheck/launch_shellcheck.sh"]