You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ab...@apache.org on 2021/02/09 11:21:48 UTC

[nifi-minifi-cpp] branch main updated: Add build number parameter for alpine based images

This is an automated email from the ASF dual-hosted git repository.

aboda pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 1a41b44  Add build number parameter for alpine based images
1a41b44 is described below

commit 1a41b44495aa9b955b96779ff311239d8eea5f07
Author: Gabor Gyimesi <ga...@gmail.com>
AuthorDate: Tue Feb 9 10:58:09 2021 +0100

    Add build number parameter for alpine based images
    
    Signed-off-by: Arpad Boda <ab...@apache.org>
    
    This closes #998
---
 cmake/DockerConfig.cmake | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmake/DockerConfig.cmake b/cmake/DockerConfig.cmake
index 8db6c23..c935f27 100644
--- a/cmake/DockerConfig.cmake
+++ b/cmake/DockerConfig.cmake
@@ -55,6 +55,7 @@ add_custom_target(
         -c DISABLE_SCRIPTING=${DISABLE_SCRIPTING}
         -c DISABLE_CONTROLLER=${DISABLE_CONTROLLER}
         -c DOCKER_BASE_IMAGE=${DOCKER_BASE_IMAGE}
+        -c BUILD_NUMBER=${BUILD_NUMBER}
     WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/docker/)
 
 # Create minimal docker image
@@ -66,6 +67,7 @@ add_custom_target(
         -v ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}
         -i minimal
         -c DOCKER_BASE_IMAGE=${DOCKER_BASE_IMAGE}
+        -c BUILD_NUMBER=${BUILD_NUMBER}
     WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/docker/)
 
 add_custom_target(