-
Notifications
You must be signed in to change notification settings - Fork 999
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: kubernetes materialization engine written based on bytewax
Signed-off-by: Harry <[email protected]>
- Loading branch information
1 parent
318a2b8
commit cdccfb9
Showing
11 changed files
with
707 additions
and
4 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
sdk/python/feast/infra/materialization/kubernetes/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM python:3.9-slim-bullseye AS build | ||
|
||
RUN apt-get update && \ | ||
apt-get install --no-install-suggests --no-install-recommends --yes git | ||
|
||
WORKDIR /app | ||
|
||
COPY sdk/python/feast/infra/materialization/contrib/kuberentes/main.py /app | ||
|
||
# Copy necessary parts of the Feast codebase | ||
COPY sdk/python sdk/python | ||
COPY protos protos | ||
COPY go go | ||
COPY setup.py setup.py | ||
COPY pyproject.toml pyproject.toml | ||
COPY README.md README.md | ||
|
||
# We need this mount thingy because setuptools_scm needs access to the | ||
# git dir to infer the version of feast we're installing. | ||
# https://github.com/pypa/setuptools_scm#usage-from-docker | ||
# I think it also assumes that this dockerfile is being built from the root of the directory. | ||
RUN --mount=source=.git,target=.git,type=bind pip3 install --no-cache-dir '.[aws,gcp,k8s,snowflake,postgres]' |
Empty file.
Oops, something went wrong.