forked from flyteorg/flytekit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Austin Liu <[email protected]>
- Loading branch information
1 parent
ce18b6f
commit 5b69e4e
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -24,10 +24,10 @@ ENV PATH="/root/.cargo/bin:${PATH}" | |
# Install maturin to build Python bindings with PyO3 | ||
RUN pip install maturin | ||
|
||
# RUN git clone -b flyrs https://github.com/austin362667/flyte.git | ||
RUN git clone -b flyrs https://github.com/austin362667/flyte.git | ||
|
||
# Build the Python bindings | ||
# RUN --mount=type=cache,target=/usr/local/cargo/registry maturin build --release --out dist -m flyte/flyteidl/Cargo.toml | ||
RUN --mount=type=cache,target=/usr/local/cargo/registry maturin build --release --out dist -m flyte/flyteidl/Cargo.toml | ||
|
||
|
||
# Stage 2: Runtime environment: The fresh and final base image | ||
|
@@ -37,8 +37,7 @@ FROM python:${PYTHON_VERSION}-slim-bookworm | |
COPY --from=builder dist/*.whl . | ||
|
||
# Install the built `flyteidl-rust` Python package locally | ||
# RUN pip install *.whl | ||
RUN pip install -i https://test.pypi.org/simple/ flyteidl-rust | ||
RUN pip install *.whl | ||
|
||
|
||
MAINTAINER Flyte Team <[email protected]> | ||
|