abroekhuis commented on a change in pull request #170: Add new cmake command 
for explicitly installing docker containers
URL: https://github.com/apache/celix/pull/170#discussion_r392240394
 
 

 ##########
 File path: cmake/cmake_celix/DockerPackaging.cmake
 ##########
 @@ -543,4 +525,57 @@ function(cmake_docker_add_files)
       COMMENT "Copying file '${DOCKER_FILE}' to 
'${DOCKER_DIR_LOCATION}/${DOCKER_DESTINATION}'"
       )
   endforeach()
+endfunction()
+
+
+#[[
+Install docker container when 'make install' is executed and 
CELIX_BUILD_DOCKER_USE_DOCKER_DIR_TAR is defined.
+Docker containers are installed at 
`<install-prefix>/shared/<project_name>/containers`.
+
+CELIX_BUILD_DOCKER_TAR_LOCATION can be defined to override the default 
install-prefix.
+
+Optional arguments:
+- PROJECT_NAME: The project name for installing. Default is the cmake project 
name.
+- IMAGE_NAME: Configure the image name. Default is NAME.
+
+install_celix_docker_targz(<docker_target_name>
 
 Review comment:
   Is there also an alternative to targz? If not, why the suffix targz?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to