From bc59a45c9d0bddc922dfbbab6fd923a17730219e Mon Sep 17 00:00:00 2001 From: Ramon Nou Date: Mon, 12 May 2025 07:41:15 +0200 Subject: [PATCH] DockerFiles updated for 0.9.5 --- CMake/load_nlohmann_json.cmake | 8 +--- docker/0.9.5/apps/Dockerfile | 72 +++++++++++++++++++++++++++++++++ docker/0.9.5/apps/Makefile | 10 +++++ docker/0.9.5/apps/sources.json | 27 +++++++++++++ docker/0.9.5/apps/wacomm.json | 46 +++++++++++++++++++++ docker/0.9.5/core/Dockerfile | 35 ++++++++++++++++ docker/0.9.5/core/Makefile | 10 +++++ docker/0.9.5/deps/Dockerfile | 37 +++++++++++++++++ docker/0.9.5/deps/Makefile | 23 +++++++++++ docker/0.9.5/docs/Dockerfile | 25 ++++++++++++ docker/0.9.5/docs/Makefile | 10 +++++ docker/0.9.5/linter/Dockerfile | 14 +++++++ docker/0.9.5/linter/Makefile | 10 +++++ docker/0.9.5/testing/Dockerfile | 54 +++++++++++++++++++++++++ docker/0.9.5/testing/Makefile | 10 +++++ docker/latest | 2 +- tests/unit/CMakeLists.txt | 10 +---- 17 files changed, 386 insertions(+), 17 deletions(-) create mode 100644 docker/0.9.5/apps/Dockerfile create mode 100644 docker/0.9.5/apps/Makefile create mode 100644 docker/0.9.5/apps/sources.json create mode 100644 docker/0.9.5/apps/wacomm.json create mode 100644 docker/0.9.5/core/Dockerfile create mode 100644 docker/0.9.5/core/Makefile create mode 100644 docker/0.9.5/deps/Dockerfile create mode 100644 docker/0.9.5/deps/Makefile create mode 100644 docker/0.9.5/docs/Dockerfile create mode 100644 docker/0.9.5/docs/Makefile create mode 100644 docker/0.9.5/linter/Dockerfile create mode 100644 docker/0.9.5/linter/Makefile create mode 100644 docker/0.9.5/testing/Dockerfile create mode 100644 docker/0.9.5/testing/Makefile diff --git a/CMake/load_nlohmann_json.cmake b/CMake/load_nlohmann_json.cmake index 34a5f4633..cb059db79 100644 --- a/CMake/load_nlohmann_json.cmake +++ b/CMake/load_nlohmann_json.cmake @@ -34,12 +34,8 @@ FetchContent_Declare(nlohmann_json DOWNLOAD_EXTRACT_TIMESTAMP ON URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz) -FetchContent_GetProperties(nlohmann_json) -if (NOT nlohmann_json_POPULATED) - FetchContent_Populate(nlohmann_json) - message(STATUS "[gkfs.io] Nlohmann JSON source dir: ${nlohmann_json_SOURCE_DIR}") - message(STATUS "[gkfs.io] Nlohmann JSON binary dir: ${nlohmann_json_BINARY_DIR}") +FetchContent_MakeAvailable(nlohmann_json) # we don't really care so much about a third party library's tests to be # run from our own project's code @@ -48,5 +44,3 @@ if (NOT nlohmann_json_POPULATED) # we also don't need to install it when our main project gets installed set(JSON_Install OFF CACHE INTERNAL "") - add_subdirectory(${nlohmann_json_SOURCE_DIR} ${nlohmann_json_BINARY_DIR}) -endif () diff --git a/docker/0.9.5/apps/Dockerfile b/docker/0.9.5/apps/Dockerfile new file mode 100644 index 000000000..89317fa97 --- /dev/null +++ b/docker/0.9.5/apps/Dockerfile @@ -0,0 +1,72 @@ +FROM gekkofs/testing:0.9.5 AS builder + +LABEL Description="Build environment for S3D-IO and WaComM++" + +ARG DEBIAN_FRONTEND=noninteractive + +RUN <