From 70ac21cc1da613040b63a8b0ce3835a174d213a5 Mon Sep 17 00:00:00 2001 From: Jeremy Ary Date: Wed, 17 Apr 2024 12:13:04 -0500 Subject: [PATCH] Revert "fix: Using version args to install the correct feast version (#3953)" This reverts commit b83a70227c6afe7258328ff5847a26b526d0b5df. --- .../feast/infra/feature_servers/multicloud/Dockerfile | 7 ++----- .../feast/infra/feature_servers/multicloud/Dockerfile.dev | 8 ++------ 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile b/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile index 1a55c6e851..5100a2f822 100644 --- a/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile +++ b/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile @@ -1,9 +1,5 @@ FROM python:3.9 -# Input the feast version to install -# This requires feast package to be available in pypi before building this image -ARG VERSION - RUN apt update && \ apt install -y \ jq \ @@ -11,7 +7,8 @@ RUN apt update && \ build-essential RUN pip install pip --upgrade -RUN pip install "feast[aws,gcp,snowflake,redis,go,mysql,postgres]==${VERSION}" +RUN pip install "feast[aws,gcp,snowflake,redis,go,mysql,postgres]" + RUN apt update RUN apt install -y -V ca-certificates lsb-release wget diff --git a/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile.dev b/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile.dev index 900578f55d..f92d3622a7 100644 --- a/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile.dev +++ b/sdk/python/feast/infra/feature_servers/multicloud/Dockerfile.dev @@ -1,9 +1,5 @@ FROM python:3.9 -# Input the feast version to install -# This requires feast package to be available in pypi before building this image -ARG VERSION - RUN apt update && \ apt install -y \ jq \ @@ -13,11 +9,11 @@ RUN apt update && \ RUN pip install pip --upgrade COPY . . -RUN pip install "feast[aws,gcp,snowflake,redis,go,mysql,postgres]==${VERSION}" +RUN pip install "feast[aws,gcp,snowflake,redis,go,mysql,postgres]" 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 RUN apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb RUN apt update -RUN apt -y install libarrow-dev +RUN apt -y install libarrow-dev \ No newline at end of file