mirror of
https://github.com/ovh/debian-cis.git
synced 2024-12-23 14:35:26 +01:00
176fb96fa4
IMP: search for all .sh files to shellcheck If no file is passed as argument, shellchek will be run on all .sh files Fix dockerfile location and expand full shellcheck options
14 lines
334 B
Docker
14 lines
334 B
Docker
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"]
|
|
|