From 7d96405078308a0407ebe6f37791d422019efaf8 Mon Sep 17 00:00:00 2001 From: Jeremy Muhlich Date: Wed, 15 May 2024 16:38:16 -0400 Subject: [PATCH] Pin basicpy version in pip install This makes the version of the code installed in the container predictable and stable. Ideally this Dockerfile should be part of the basicpy repo and releases synchronized with the releases of basicpy itself, though. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 626e2f7..3239997 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ ENV PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin: # Installing necessary packages # Installing basicpy and other pip packages -RUN pip --no-cache-dir install git+https://github.com/peng-lab/BaSiCpy@dev bioformats_jar +RUN pip --no-cache-dir install git+https://github.com/peng-lab/BaSiCpy@v1.2.0 bioformats_jar # Copy script and test run COPY ./main.py /opt/