Skip to content

Commit

Permalink
[#161] Update the Dockerfile to support build with different hlink ex…
Browse files Browse the repository at this point in the history
…tras

This should let us have two different test setups for each Python version. One
with xgboost, one without.
  • Loading branch information
riley-harper committed Nov 15, 2024
1 parent a7b0c37 commit 5c6fdc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARG PYTHON_VERSION=3.10
FROM python:${PYTHON_VERSION}
ARG HLINK_EXTRAS=dev

RUN apt-get update && apt-get install default-jre-headless -y

Expand All @@ -8,4 +9,4 @@ WORKDIR /hlink

COPY . .
RUN python -m pip install --upgrade pip
RUN pip install -e .[dev]
RUN pip install -e .[${HLINK_EXTRAS}]

0 comments on commit 5c6fdc9

Please sign in to comment.