From 4a1a0a903f82c9c23b260609011c6a46c01fd83b Mon Sep 17 00:00:00 2001 From: Guofang Date: Tue, 10 Nov 2026 14:04:07 +0800 Subject: [PATCH] Update json-c library version to 0.18 in Dockerfiles and fetch script --- INCLUDED_LIBRARIES.md | 2 +- alpine3.24/Dockerfile | 2 +- debian13/Dockerfile | 2 +- fetch-sources.sh | 4 ++-- rocky9/Dockerfile | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/INCLUDED_LIBRARIES.md b/INCLUDED_LIBRARIES.md index a94b796..7a0afea 100644 --- a/INCLUDED_LIBRARIES.md +++ b/INCLUDED_LIBRARIES.md @@ -34,7 +34,7 @@ | CZMQ | `4.2.1` | | JsonCpp | `1.9.8` | | librdkafka | `2.15.0` | -| json-c | `0.19` | +| json-c | `0.18` | | RapidJSON | `1.1.0` | | curl | `8.21.0` | | hiredis | `1.4.1` | diff --git a/alpine3.24/Dockerfile b/alpine3.24/Dockerfile index 851ebf9..9fed66f 100644 --- a/alpine3.24/Dockerfile +++ b/alpine3.24/Dockerfile @@ -388,7 +388,7 @@ RUN --mount=type=bind,from=sources,source=librdkafka-v2.15.0.tar.gz,target=/tmp/ && cmake --build build --parallel "$(nproc)" --target install \ && rm -rf build src -RUN --mount=type=bind,from=sources,source=json-c-json-c-0.19-20260627.tar.gz,target=/tmp/json-c.tar.gz \ +RUN --mount=type=bind,from=sources,source=json-c-json-c-0.18-20240915.tar.gz,target=/tmp/json-c.tar.gz \ mkdir src \ && tar --extract --gzip --file=/tmp/json-c.tar.gz --directory=src --strip-components=1 \ && cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \ diff --git a/debian13/Dockerfile b/debian13/Dockerfile index 6a832e5..4304e5f 100644 --- a/debian13/Dockerfile +++ b/debian13/Dockerfile @@ -493,7 +493,7 @@ RUN --mount=type=bind,from=sources,source=librdkafka-v2.15.0.tar.gz,target=/tmp/ && cmake --build build --parallel "$(nproc)" --target install \ && rm -rf build src -RUN --mount=type=bind,from=sources,source=json-c-json-c-0.19-20260627.tar.gz,target=/tmp/json-c.tar.gz \ +RUN --mount=type=bind,from=sources,source=json-c-json-c-0.18-20240915.tar.gz,target=/tmp/json-c.tar.gz \ mkdir src \ && tar --extract --gzip --file=/tmp/json-c.tar.gz --directory=src --strip-components=1 \ && cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \ diff --git a/fetch-sources.sh b/fetch-sources.sh index 414537f..a74ec1b 100755 --- a/fetch-sources.sh +++ b/fetch-sources.sh @@ -96,8 +96,8 @@ fetch jsoncpp-1.9.8.tar.gz \ https://wangguofang.net/github.com/open-source-parsers/jsoncpp/archive/1.9.8.tar.gz fetch librdkafka-v2.15.0.tar.gz \ https://wangguofang.net/github.com/confluentinc/librdkafka/archive/v2.15.0.tar.gz -fetch json-c-json-c-0.19-20260627.tar.gz \ - https://wangguofang.net/github.com/json-c/json-c/archive/json-c-0.19-20260627.tar.gz +fetch json-c-json-c-0.18-20240915.tar.gz \ + https://wangguofang.net/github.com/json-c/json-c/archive/json-c-0.18-20240915.tar.gz fetch rapidjson-v1.1.0.tar.gz \ https://wangguofang.net/github.com/Tencent/rapidjson/archive/v1.1.0.tar.gz fetch curl-curl-8_21_0.tar.gz \ diff --git a/rocky9/Dockerfile b/rocky9/Dockerfile index 02fe9c2..b751a67 100644 --- a/rocky9/Dockerfile +++ b/rocky9/Dockerfile @@ -494,7 +494,7 @@ RUN --mount=type=bind,from=sources,source=librdkafka-v2.15.0.tar.gz,target=/tmp/ && cmake --build build --parallel "$(nproc)" --target install \ && rm -rf build src -RUN --mount=type=bind,from=sources,source=json-c-json-c-0.19-20260627.tar.gz,target=/tmp/json-c.tar.gz \ +RUN --mount=type=bind,from=sources,source=json-c-json-c-0.18-20240915.tar.gz,target=/tmp/json-c.tar.gz \ mkdir src \ && tar --extract --gzip --file=/tmp/json-c.tar.gz --directory=src --strip-components=1 \ && cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \