Skip to content

Commit 4567fe8

Browse files
TorecLuikCopilot
andcommitted
Add biomero 2.6 pre
Co-authored-by: Copilot <copilot@github.com>
1 parent 32e80f8 commit 4567fe8

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

biomeroworker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ RUN yum -y install ack
4343
# force zarr < 3 for compatibility w/ omero-cli-zarr by installing biomero AFTER the importer
4444
RUN $VIRTUAL_ENV/bin/python -m pip install --upgrade pip \
4545
&& $VIRTUAL_ENV/bin/python -m pip install --ignore-requires-python biomero-importer==${BIOMERO_IMPORTER_VERSION} \
46-
&& $VIRTUAL_ENV/bin/python -m pip install "biomero[full]==${BIOMERO_VERSION}"
46+
&& $VIRTUAL_ENV/bin/python -m pip install "biomero[full]==2.6.0a1"
4747

4848
## Adjust processor code with BIOMERO Processor
4949
# This version forwards HTTP(S) PROXY environment variables to the subprocesses (scripts)

server/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ ADD server/00-restore-config.sh* /startup/
2121

2222
# Clone specific release version
2323
# We don't need the example scripts
24+
ADD https://api.github.com/repos/nl-bioimaging/biomero-scripts/commits?sha=master&per_page=1 /tmp/biomero_branch_commits
2425
RUN cd $OMERO_DIST/lib/scripts/ && \
25-
git clone --depth 1 --branch ${BIOMERO_VERSION} --single-branch https://github.com/NL-BioImaging/biomero-scripts.git biomero && \
26+
git clone --depth 1 --branch master --single-branch https://github.com/NL-BioImaging/biomero-scripts.git biomero && \
2627
rm -f biomero/admin/Example_Minimal_Slurm_Script.py && \
2728
rm -f biomero/__workflows/SLURM_CellPose_Segmentation.py
2829

web/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ COPY biomeroworker/slurm-config.ini /etc/slurm-config.ini
4242
### Install OMERO.biomero first ###
4343
### BIOMERO.importer and BIOMERO.analyzer will be installed as a dependency of OMERO.biomero ###
4444

45-
# Install released OMERO.biomero from PyPI and run setup
46-
RUN /opt/omero/web/venv3/bin/pip install omero-biomero==${OMERO_BIOMERO_VERSION} \
45+
# Install OMERO.biomero from main branch on GitHub
46+
ADD "https://api.github.com/repos/NL-BioImaging/OMERO.biomero/commits?sha=main&per_page=1" /tmp/biomero_branch_commits
47+
RUN git clone -b main --depth 1 https://github.com/NL-BioImaging/OMERO.biomero.git /opt/omero/web/OMERO.biomero \
48+
&& /opt/omero/web/venv3/bin/pip install -e /opt/omero/web/OMERO.biomero \
4749
&& /opt/omero/web/venv3/bin/omero-biomero-setup
4850

49-
# Install OMERO.biomero from main branch on GitHub (commented out for release):
50-
# ADD "https://api.github.com/repos/NL-BioImaging/OMERO.biomero/commits/main" /latest_commit_biomero
51-
# RUN git clone -b main https://github.com/NL-BioImaging/OMERO.biomero.git /opt/omero/web/OMERO.biomero \
52-
# && /opt/omero/web/venv3/bin/pip install -e /opt/omero/web/OMERO.biomero \
51+
# Install released OMERO.biomero from PyPI (commented out, use for releases):
52+
# RUN /opt/omero/web/venv3/bin/pip install omero-biomero==${OMERO_BIOMERO_VERSION} \
5353
# && /opt/omero/web/venv3/bin/omero-biomero-setup
5454

5555
### Install OMERO.forms ###

0 commit comments

Comments
 (0)