Skip to content

chore: revert remove rust from ibis-server image #804 #811

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Changes from all commits
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
14 changes: 5 additions & 9 deletions ibis-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ FROM python:3.11-buster AS builder
# libpq-dev is required for psycopg2
RUN apt-get update && apt-get -y install libpq-dev

# TODO: enable rust after fix the issue with the build
# Install rust
# RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
# ENV PATH="/root/.cargo/bin:$PATH"
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
ENV PATH="/root/.cargo/bin:$PATH"

# Install justfile
RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
Expand All @@ -25,15 +24,12 @@ ENV PYTHONUNBUFFERED=1 \

RUN pip install poetry==1.8.3

# TODO: enable rust after fix the issue with the build
# COPY --from=wren-modeling-py . /wren-modeling-py
# COPY --from=wren-modeling-rs . /wren-modeling-rs
COPY --from=wren-modeling-py . /wren-modeling-py
COPY --from=wren-modeling-rs . /wren-modeling-rs

WORKDIR /app
COPY . .
# TODO: enable rust after fix the issue with the build
# RUN just install --without dev
RUN poetry install --without dev
RUN just install --without dev


FROM python:3.11-slim-buster AS runtime
Expand Down
Loading