1FROM ubuntu:22.04 2 3RUN useradd -u 1000 -U -m -c Jenkins jenkins 4 5RUN apt update && apt -y upgrade \ 6 && apt install -y \ 7 software-properties-common \ 8 clang \ 9 gcc \ 10 g++ \ 11 git \ 12 cmake \ 13 imagemagick \ 14 make \ 15 python3 \ 16 python3-pip \ 17 python3-venv \ 18 python3-numpy \ 19 python3-pil \ 20 ca-certificates \ 21 gnupg \ 22 wget \ 23 && rm -rf /var/lib/apt/lists/* 24 25# Install python modules 26RUN pip3 install requests 27 28# Install Coverity static analysis tools 29COPY coverity_* /tmp/ 30RUN chmod 555 /tmp/coverity_install.sh && \ 31 /tmp/coverity_install.sh -q --license.region=6 --license.agreement=agree --license.cov.path=/tmp/coverity_license.dat -dir /usr/local/cov-analysis && \ 32 rm /tmp/coverity_* 33ENV PATH="/usr/local/cov-analysis/bin:$PATH" 34