mirror of
https://github.com/openappsec/attachment.git
synced 2025-11-16 09:21:55 +03:00
Add kong gateway (#42)
* add gateway * fix right command * fix CMakeLists * add uzip package --------- Co-authored-by: wiaamm <wiaamm@checkpoint.com>
This commit is contained in:
9
docker/openappsec-kong-gateway-plugin/CMakeLists.txt
Executable file
9
docker/openappsec-kong-gateway-plugin/CMakeLists.txt
Executable file
@@ -0,0 +1,9 @@
|
||||
message(STATUS "OUTPUT_KONG_PLUGIN_DOCKER_IMAGE = ${OUTPUT_KONG_PLUGIN_DOCKER_IMAGE}")
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_INSTALL_PREFIX}/kong-gateway-plugin-docker.img
|
||||
COMMAND docker build --load -t kong-gateway-plugin-docker --network host -f ${CMAKE_CURRENT_SOURCE_DIR}/Dockerfile ${CMAKE_INSTALL_PREFIX}
|
||||
COMMAND docker tag kong-gateway-plugin-docker ${OUTPUT_KONG_PLUGIN_DOCKER_IMAGE}
|
||||
COMMAND docker image save kong-gateway-plugin-docker -o ${CMAKE_INSTALL_PREFIX}/kong-gateway-plugin-docker.img
|
||||
)
|
||||
|
||||
add_custom_target(kong-gateway-plugin-docker DEPENDS ${CMAKE_INSTALL_PREFIX}/kong-gateway-plugin-docker.img)
|
||||
Reference in New Issue
Block a user