mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-29 17:01:09 +01:00
70cb310c54
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"]
|
|
|