mirror of
https://github.com/openappsec/attachment.git
synced 2025-07-16 07:24:46 +03:00
* add the kong plugin Dockerfile * fix version * fix version * Daniel fixes * [JIRA] INXT-46346: Kong plug in | Prepare for docker submission * Docker file fix * fix the docker build command * fix the docker build command * fix the docker build command * fix the docker build command * fix the docker build command * fix the docker build command * fix the docker build command * fix the docker build command * fix the docker build command * fix the docker build command * [JIRA] INXT-46285: Kong plug In | add flag to open-appsec script * fix docker * fix docker * fix * add network hos * remove build.sh files --------- Co-authored-by: wiaamm <wiaamm@checkpoint.com>
9 lines
579 B
CMake
Executable File
9 lines
579 B
CMake
Executable File
message(STATUS "OUTPUT_KONG_PLUGIN_DOCKER_IMAGE = ${OUTPUT_KONG_PLUGIN_DOCKER_IMAGE}")
|
|
add_custom_command(
|
|
OUTPUT ${CMAKE_INSTALL_PREFIX}/kong-plugin-docker.img
|
|
COMMAND docker build --load -t kong-plugin-docker --network host -f ${CMAKE_CURRENT_SOURCE_DIR}/Dockerfile ${CMAKE_INSTALL_PREFIX}
|
|
COMMAND docker tag kong-plugin-docker ${OUTPUT_KONG_PLUGIN_DOCKER_IMAGE}
|
|
COMMAND docker image save kong-plugin-docker -o ${CMAKE_INSTALL_PREFIX}/kong-plugin-docker.img
|
|
)
|
|
|
|
add_custom_target(kong-plugin-docker DEPENDS ${CMAKE_INSTALL_PREFIX}/kong-plugin-docker.img) |