Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: Kubernetes materialization engine written based on bytewax
Signed-off-by: Harry <quanghai.ng1512@gmail.com>
  • Loading branch information
sudohainguyen committed Apr 9, 2024
commit d7c7e5d7f74da9d6c402803c3cfbb62a1c89a1f2
22 changes: 22 additions & 0 deletions sdk/python/feast/infra/materialization/kubernetes/Dockerfile
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
Comment thread
sudohainguyen marked this conversation as resolved.
Outdated

# 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.
Loading