From 85b338f164b6068093e6785399ec087cd6e1f71e Mon Sep 17 00:00:00 2001 From: Artur Ribeiro Date: Fri, 26 Jan 2024 15:41:55 +0000 Subject: [PATCH] add new cwe_csv to all dockerfiles in docker directory --- docker/Dockerfile.apispec | 1 + docker/Dockerfile.apispec.debian | 1 + docker/Dockerfile.debian | 1 + docker/Dockerfile.ubi8 | 1 + 4 files changed, 4 insertions(+) diff --git a/docker/Dockerfile.apispec b/docker/Dockerfile.apispec index 7a7aa413505..cd12aeaa3e3 100644 --- a/docker/Dockerfile.apispec +++ b/docker/Dockerfile.apispec @@ -56,6 +56,7 @@ COPY --from=build_env /app/assets/libraries/common /app/bin/assets/libraries/com COPY --from=build_env /app/assets/libraries/openapi /app/bin/assets/libraries/openapi COPY --from=build_env /app/assets/queries/openAPI /app/bin/assets/queries/openAPI COPY --from=build_env /app/assets/queries/common /app/bin/assets/queries/common +COPY --from=build_env /app/assets/cwe_csv/* /app/bin/assets/cwe_csv WORKDIR /app/bin diff --git a/docker/Dockerfile.apispec.debian b/docker/Dockerfile.apispec.debian index c90f5d44cb6..5d99d0f8135 100644 --- a/docker/Dockerfile.apispec.debian +++ b/docker/Dockerfile.apispec.debian @@ -70,6 +70,7 @@ COPY --from=build_env /app/assets/libraries/common /app/bin/assets/libraries/com COPY --from=build_env /app/assets/libraries/openapi /app/bin/assets/libraries/openapi COPY --from=build_env /app/assets/queries/openAPI /app/bin/assets/queries/openAPI COPY --from=build_env /app/assets/queries/common /app/bin/assets/queries/common +COPY --from=build_env /app/assets/cwe_csv/* /app/bin/assets/cwe_csv WORKDIR /app/bin diff --git a/docker/Dockerfile.debian b/docker/Dockerfile.debian index f4617ba4c66..beae14bada5 100644 --- a/docker/Dockerfile.debian +++ b/docker/Dockerfile.debian @@ -68,6 +68,7 @@ RUN mkdir ~/.terraform.d && mkdir ~/.terraform.d/plugins && mkdir ~/.terraform.d COPY --from=build_env /app/bin/kics /app/bin/kics COPY --from=build_env /app/assets/queries /app/bin/assets/queries +COPY --from=build_env /app/assets/cwe_csv/* /app/bin/assets/cwe_csv COPY --from=build_env /app/assets/libraries/* /app/bin/assets/libraries/ WORKDIR /app/bin diff --git a/docker/Dockerfile.ubi8 b/docker/Dockerfile.ubi8 index ec0c0573156..c33714dd57e 100644 --- a/docker/Dockerfile.ubi8 +++ b/docker/Dockerfile.ubi8 @@ -91,6 +91,7 @@ USER ${KUSER} # Copy built binary to the runtime container COPY --chown=${KUSER}:${KGROUP} --from=build_env /build/bin/kics /app/bin/kics COPY --chown=${KUSER}:${KGROUP} --from=build_env /build/assets/ /app/bin/assets/ +COPY --chown=${KUSER}:${KGROUP} --from=build_env /build/assets/cwe_csv/* /app/bin/assets/cwe_csv ENV PATH $PATH:/app/bin