From d8ba5b6fa4c7d9176ea3fefc4f112e92e2c2448f Mon Sep 17 00:00:00 2001 From: Akash-Jain <Akash.J@deuexsolutions.com> Date: Thu, 23 Nov 2023 11:39:17 +0530 Subject: [PATCH] fix: make ingestion build docker image using Dockerfile.ci --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b345cfdee9e4..9c16def705eb 100644 --- a/Makefile +++ b/Makefile @@ -69,8 +69,8 @@ SNYK_ARGS := --severity-threshold=high .PHONY: snyk-ingestion-report snyk-ingestion-report: ## Uses Snyk CLI to validate the ingestion code and container. Don't stop the execution @echo "Validating Ingestion container..." - docker build -t openmetadata-ingestion:scan -f ingestion/Dockerfile . - snyk container test openmetadata-ingestion:scan --file=ingestion/Dockerfile $(SNYK_ARGS) --json > security-report/ingestion-docker-scan.json | true; + docker build -t openmetadata-ingestion:scan -f ingestion/Dockerfile.ci . + snyk container test openmetadata-ingestion:scan --file=ingestion/Dockerfile.ci $(SNYK_ARGS) --json > security-report/ingestion-docker-scan.json | true; @echo "Validating ALL ingestion dependencies. Make sure the venv is activated." cd ingestion; \ pip freeze > scan-requirements.txt; \