Skip to content

Commit b10189c

Browse files
committed
Add LD_PRELOAD to the dockerfile
Cleanup the readme a little
1 parent 1c938ad commit b10189c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ RUN python -m slicer_cli_web.cli_list_entrypoint ColorDeconvolution --help
9090
# Debug import time
9191
RUN python -X importtime ColorDeconvolution/ColorDeconvolution.py --help
9292

93-
ENV PYTHONUNBUFFERED=TRUE
93+
ENV PYTHONUNBUFFERED=TRUE \
94+
LD_PRELOAD=/lib/x86_64-linux-gnu/libstdc++.so.6
9495

9596
ENTRYPOINT ["/bin/bash", "docker-entrypoint.sh"]

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ HistomicsTK can be used in two ways:
4040

4141
$ git clone https://github.com/DigitalSlideArchive/HistomicsTK/
4242
$ cd HistomicsTK/
43-
$ python -m pip install setuptools-scm "Cython>=0.25.2" "scikit-build>=0.8.1" "cmake>=0.6.0" "numpy>=1.12.1"
44-
$ python -m pip install -e .
43+
$ python -m pip install -e . --find-links https://girder.github.io/large_image_wheels
4544

4645
HistomicsTK uses the `large_image`_ library to read content from whole-slide and microscopy image formats. Depending on your exact system, installing the necessary libraries to support these formats can be complex. There are some non-official prebuilt libraries available for Linux that can be included as part of the installation by specifying ``pip install histomicstk --find-links https://girder.github.io/large_image_wheels``. Note that if you previously installed HistomicsTK or large_image without these, you may need to add ``--force-reinstall --no-cache-dir`` to the ``pip install`` command to force it to use the find-links option.
4746

0 commit comments

Comments
 (0)