Newer
Older
RUN chmod +x /base/main.sh
RUN ln /base/main.sh /usr/local/bin/bash
RUN apt update -yqq
RUN apt install -yqq build-essential
RUN apt install -yqq python3
RUN apt install -yqq bc
# Install checkpatch.
# https://raw.githubusercontent.com/01org/zephyr/master/scripts/checkpatch.pl
# https://github.com/webispy/docker-gerrit-checkpatch/blob/master/Dockerfile
RUN apt install -yqq wget
RUN wget --no-check-certificate https://raw.githubusercontent.com/torvalds/linux/master/scripts/checkpatch.pl -P /usr/bin/
RUN wget --no-check-certificate https://raw.githubusercontent.com/torvalds/linux/master/scripts/spelling.txt -P /usr/bin/
RUN wget --no-check-certificate https://raw.githubusercontent.com/torvalds/linux/master/scripts/const_structs.checkpatch -P /usr/bin/
RUN chmod +x /usr/bin/checkpatch.pl
# Install cpplint.
RUN apt install -yqq python3-pip
RUN yes | pip install cpplint
# Install shellcheck.
RUN apt install -yqq shellcheck