Skip to content

Commit 7c1ee62

Browse files
authored
Merge pull request #33 from Facthunder/2.12.1
2.12.1
2 parents 9730b96 + 377777e commit 7c1ee62

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

55
WORKDIR /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\ncppcheck --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
2120
RUN pip install --trusted-host pypi.org pygments \
2221
&& apt-get update -y \
2322
&& apt-get install -y --no-install-recommends \

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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) |

0 commit comments

Comments
 (0)