File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- FROM python:3.8 .5-slim-buster AS base
1+ FROM python:3.11 .5-slim-bookworm AS base
22
3- ENV CPPCHECK_VERSION=2.7
3+ ENV CPPCHECK_VERSION=2.12.1
44
55WORKDIR /tmp/cppcheck
66
@@ -13,11 +13,10 @@ RUN apt-get update -y \
1313 libz3-dev \
1414 libpcre3-dev \
1515 && git clone --single-branch -b $CPPCHECK_VERSION https://github.com/danmar/cppcheck.git . \
16- && cp externals/z3_version_old.h externals/z3_version.h \
1716 && make install USE_Z3=yes HAVE_RULES=yes MATCHCOMPILER=yes FILESDIR=/etc/cppcheck CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function" \
1817 && echo -e "#!/bin/sh\n cppcheck --dump .\n misra.py \` find . -name '*.dump' | tr '\n ' ' '\` 2> misra-report.txt" > /usr/bin/misra && chmod +x /usr/bin/misra
1918
20- FROM python:3.8 .5-slim-buster
19+ FROM python:3.11 .5-slim-bookworm
2120RUN pip install --trusted-host pypi.org pygments \
2221 && apt-get update -y \
2322 && apt-get install -y --no-install-recommends \
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ Here is the versions matrix of the image:
3737
3838| TAG | CPPCHECK VERSION | BASE IMAGE |
3939| :------------------------------------------------------:| :------------------------------------------------------------:| :------------------------------------------------------:|
40- | [ latest] ( https://github.com/facthunder/cppcheck/pkgs/container/cppcheck/2.7 ) | [ 2.7] ( https://github.com/danmar/cppcheck/releases/tag/2.7 ) | [ python:3.8.5-slim-buster] ( https://hub.docker.com/_/python ) |
40+ | [ latest] ( https://github.com/facthunder/cppcheck/pkgs/container/cppcheck/2.12.1 ) | [ 2.12.1] ( https://github.com/danmar/cppcheck/releases/tag/2.12.1 ) | [ python:3.11.5-slim-bookworm] ( https://hub.docker.com/_/python ) |
41+ | [ 2.12.1] ( https://github.com/facthunder/cppcheck/pkgs/container/cppcheck/2.12.1 ) | [ 2.12.1] ( https://github.com/danmar/cppcheck/releases/tag/2.12.1 ) | [ python:3.11.5-slim-bookworm] ( https://hub.docker.com/_/python ) |
4142| [ 2.7] ( https://github.com/facthunder/cppcheck/pkgs/container/cppcheck/2.7 ) | [ 2.7] ( https://github.com/danmar/cppcheck/releases/tag/2.7 ) | [ python:3.8.5-slim-buster] ( https://hub.docker.com/_/python ) |
4243| [ 2.6] ( https://github.com/facthunder/cppcheck/pkgs/container/cppcheck/2.6 ) | [ 2.6] ( https://github.com/danmar/cppcheck/releases/tag/2.6 ) | [ python:3.8.5-slim-buster] ( https://hub.docker.com/_/python ) |
4344| [ 2.5] ( https://github.com/facthunder/cppcheck/pkgs/container/cppcheck/2.5 ) | [ 2.5] ( https://github.com/danmar/cppcheck/releases/tag/2.5 ) | [ python:3.8.5-slim-buster] ( https://hub.docker.com/_/python ) |
You can’t perform that action at this time.
0 commit comments