Skip to content

Commit

Permalink
using version args to install the correct feast version
Browse files Browse the repository at this point in the history
  • Loading branch information
bushwhackr committed Feb 16, 2024
1 parent ec11a7c commit ea0fe11
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 5 additions & 2 deletions sdk/python/feast/infra/feature_servers/multicloud/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
FROM python:3.8

# 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 \
python3-dev \
build-essential

RUN pip install pip --upgrade
RUN pip install "feast[aws,gcp,snowflake,redis,go,mysql,postgres]"

RUN pip install "feast[aws,gcp,snowflake,redis,go,mysql,postgres]==${VERSION}"

RUN apt update
RUN apt install -y -V ca-certificates lsb-release wget
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
FROM python:3.8

# 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 \
python3-dev \
build-essential

RUN pip install pip --upgrade
COPY . .

RUN pip install "feast[aws,gcp,snowflake,redis,go,mysql,postgres]"
RUN pip install "feast[aws,gcp,snowflake,redis,go,mysql,postgres]==${VERSION}"

RUN apt update
RUN apt install -y -V ca-certificates lsb-release wget
Expand Down

0 comments on commit ea0fe11

Please sign in to comment.