Skip to content

Commit

Permalink
add new cwe_csv to all dockerfiles in docker directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturRibeiro-CX committed Jan 26, 2024
1 parent 5634af0 commit 85b338f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile.apispec
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.apispec.debian
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 85b338f

Please sign in to comment.