mirror of
https://github.com/openappsec/attachment.git
synced 2025-08-14 05:45:57 +03:00
fix CMakeLists
This commit is contained in:
parent
3482dab0eb
commit
56d5da8b72
@ -10,3 +10,4 @@ add_custom_target(docker DEPENDS ${CMAKE_INSTALL_PREFIX}/nginx-docker.img)
|
||||
add_subdirectory(openappsec-envoy-attachments)
|
||||
add_subdirectory(openappsec-waf-webhook)
|
||||
add_subdirectory(openappsec-kong-plugin)
|
||||
add_subdirectory(openappsec-kong-gateway-plugin)
|
||||
|
@ -1,9 +1,9 @@
|
||||
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
|
||||
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-plugin-docker DEPENDS ${CMAKE_INSTALL_PREFIX}/kong-plugin-docker.img)
|
||||
add_custom_target(kong-gateway-plugin-docker DEPENDS ${CMAKE_INSTALL_PREFIX}/kong-gateway-plugin-docker.img)
|
Loading…
x
Reference in New Issue
Block a user