attachment/docker/CMakeLists.txt
Daniel-Eisenberg c59e4d0e76
Kong dockerfile (#37)
* 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>
2025-06-30 16:46:53 +03:00

13 lines
491 B
CMake

add_custom_command(
OUTPUT ${CMAKE_INSTALL_PREFIX}/nginx-docker.img
COMMAND docker build -t nginx-docker ${CMAKE_INSTALL_PREFIX}
COMMAND docker tag nginx-docker ${OUTPUT_DOCKER_IMAGE}
COMMAND docker image save nginx-docker -o ${CMAKE_INSTALL_PREFIX}/nginx-docker.img
)
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)