From 7d02313a2a15c46a3044e38ab9fc6b80b6a168c1 Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Thu, 11 Mar 2021 19:30:38 -0500 Subject: [PATCH] fix(ingest): use python extras in docker image (#2226) --- docker/datahub-ingestion/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docker/datahub-ingestion/Dockerfile b/docker/datahub-ingestion/Dockerfile index 1cb42fa830..6d1bd5140b 100644 --- a/docker/datahub-ingestion/Dockerfile +++ b/docker/datahub-ingestion/Dockerfile @@ -21,14 +21,13 @@ RUN cd /datahub-src && ./gradlew :metadata-events:mxe-schemas:build FROM base as prod-codegen COPY --from=prod-build /datahub-src /datahub-src RUN cd /datahub-src/metadata-ingestion && \ - pip install -e ".[all]" && \ + pip install -e ".[base]" && \ ./scripts/codegen.sh FROM base as prod-install COPY --from=prod-codegen /datahub-src/metadata-ingestion /datahub-ingestion RUN cd /datahub-ingestion && \ - pip install . && \ - pip install -r test_requirements.txt -r plugin_requirements.txt + pip install ".[all]" FROM base as dev-install # Dummy stage for development. Assumes code is built on your machine and mounted to this image.