From a2dc0d0410eb297afddfb1dd4f1f899ab70fa14f Mon Sep 17 00:00:00 2001 From: Felix Wang Date: Wed, 21 Sep 2022 20:35:42 -0700 Subject: [PATCH] fix: Build dockerfile correctly (#3239) * Build dockerfile correctly Signed-off-by: Felix Wang * Update Signed-off-by: Felix Wang * Fix Signed-off-by: Felix Wang Signed-off-by: Felix Wang --- sdk/python/feast/infra/feature_servers/multicloud/Dockerfile | 2 +- .../feast/infra/feature_servers/multicloud/Dockerfile.dev | 2 +- .../feast/infra/feature_servers/multicloud/requirements.txt | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 sdk/python/feast/infra/feature_servers/multicloud/requirements.txt diff --git a/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile b/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile index 751a398ad4..7dbe5fd0c4 100644 --- a/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile +++ b/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile @@ -9,8 +9,8 @@ RUN apt update && \ RUN pip install pip --upgrade COPY . . +RUN pip install ".[aws,gcp,snowflake,redis,go,mysql]" -RUN pip install -r requirements.txt RUN apt update RUN apt install -y -V ca-certificates lsb-release wget RUN wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb diff --git a/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile.dev b/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile.dev index 751a398ad4..7dbe5fd0c4 100644 --- a/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile.dev +++ b/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile.dev @@ -9,8 +9,8 @@ RUN apt update && \ RUN pip install pip --upgrade COPY . . +RUN pip install ".[aws,gcp,snowflake,redis,go,mysql]" -RUN pip install -r requirements.txt RUN apt update RUN apt install -y -V ca-certificates lsb-release wget RUN wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb diff --git a/sdk/python/feast/infra/feature_servers/multicloud/requirements.txt b/sdk/python/feast/infra/feature_servers/multicloud/requirements.txt deleted file mode 100644 index 01d08a4eff..0000000000 --- a/sdk/python/feast/infra/feature_servers/multicloud/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -feast[aws,gcp,snowflake,redis,go,mysql]