-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ab394a
commit 6584848
Showing
2 changed files
with
14 additions
and
1 deletion.
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
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,13 @@ | ||
FROM python:3.10-bullseye | ||
|
||
ARG VERSION=${VERSION:-piecewise-reg} | ||
ARG GIT_REPO=https://github.com/populationgenomics/TRTools-segreg.git | ||
|
||
# Install necessary packages and clean up to reduce image size | ||
RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
git curl bzip2 zip && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
rm -rf /var/cache/apt/* | ||
|
||
# Install Python packages including piecewise_regression | ||
RUN pip install --no-cache-dir metamist piecewise_regression git+${GIT_REPO}@${VERSION} |