Skip to content

Commit

Permalink
Dockerfile FROM alpine:3.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
neszt committed Dec 23, 2023
1 parent 78b3e71 commit 7e69ede
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18.4
FROM alpine:3.19.0

MAINTAINER Neszt Tibor <[email protected]>

Expand All @@ -13,6 +13,7 @@ RUN \
[[ `echo ${SOURCE_BRANCH} | grep -E ^[0-9.]+$` ]] && git checkout tags/${SOURCE_BRANCH} || true && \
make install FILESDIR=/cfg HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG --static" -j `getconf _NPROCESSORS_ONLN` && \
strip /usr/bin/cppcheck && \
rm /usr/lib/python3.11/EXTERNALLY-MANAGED && \
pip config set global.no-cache-dir false && \
pip install cppcheck-codequality pyinstaller pygments && \
cd /usr/src && \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Dockerfile to build latest and any tagged version of [cppcheck](https://github.c

Main aims:

1. Ability to build the most recent version of [cppcheck](https://github.com/danmar/cppcheck). With this Dockerfile you can build the [lastest main](https://github.com/danmar/cppcheck/commits/main) branch.
1. Ability to build the most recent version of [cppcheck](https://github.com/danmar/cppcheck). With this Dockerfile you can build the [lastest main](https://github.com/danmar/cppcheck/commits/main) and any tagged version.

2. Make the result image as small as possible. This Dockerfile uses [alpine linux](https://alpinelinux.org) and removes any unneeded file and strips the resulting cppcheck binary.

Expand Down

0 comments on commit 7e69ede

Please sign in to comment.