From 22e87df5af02b89d01d7aa672d6ec548e442c814 Mon Sep 17 00:00:00 2001 From: Anuj359 Date: Mon, 24 Jul 2023 11:52:45 +0530 Subject: [PATCH] Fixing/security scan (#12562) * Updating Dockerfile with multistage * Updating reviewed changes * Docker Development changes * Docker workflow changes * Arguments update * Script path update * Arguments update * Resolving the reviewed suggestions * Updating omd api version for security scan --- ingestion/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ingestion/Dockerfile b/ingestion/Dockerfile index 7c949f89c04..bec6c6f19ee 100644 --- a/ingestion/Dockerfile +++ b/ingestion/Dockerfile @@ -75,8 +75,8 @@ USER airflow # Argument to provide for Ingestion Dependencies to install. Defaults to all ARG INGESTION_DEPENDENCY="all" RUN pip install --upgrade pip -RUN pip install "openmetadata-managed-apis==1.2.0.0.dev0" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.6.3/constraints-3.9.txt" -RUN pip install "openmetadata-ingestion[${INGESTION_DEPENDENCY}]==1.2.0.0.dev0" +RUN pip install "openmetadata-managed-apis~=1.1.0.4" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.6.3/constraints-3.9.txt" +RUN pip install "openmetadata-ingestion[${INGESTION_DEPENDENCY}]~=1.2.0.0.dev0" # Temporary workaround for https://github.com/open-metadata/OpenMetadata/issues/9593 RUN echo "Image built for $(uname -m)"