mirror of
https://github.com/openappsec/attachment.git
synced 2025-11-16 09:21:55 +03:00
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>
This commit is contained in:
9
docker/openappsec-kong-plugin/CMakeLists.txt
Executable file
9
docker/openappsec-kong-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-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)
|
||||
Reference in New Issue
Block a user