Sign inSign up

spectralnanodiamond/btrack

By spectralnanodiamond

Updated almost 2 years ago

A docker image to run btrack (currently 0.6.5, the most recent version at the time of writing)

Image
0

221

spectralnanodiamond/btrack repository overview

Built from this dockerfile

1
docker build . -t spectralnanodiamond/btrack --platform=linux/x86_64
2
run docker run -it spectralnanodiamond/btrack
or
run docker run -it 124091824019489
or
run docker run -it -p 8888:8888 spectralnanodiamond/btrack
3
docker image push spectralnanodiamond/btrack:latest
To run jupyter notebook
run with port option above then
jupyter notebook --ip 0.0.0.0 --allow-root --no-browser
then http://127.0.0.1:8888 or http://localhost:8888/

FROM ubuntu:22.04

ARG MINIFORGE_NAME=Miniforge3 ARG MINIFORGE_VERSION=24.7.1-0 ARG TARGETPLATFORM

ENV CONDA_DIR=/opt/conda ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 ENV PATH=${CONDA_DIR}/bin:${PATH}

RUN apt-get update > /dev/null &&
apt-get install --no-install-recommends --yes
wget bzip2 ca-certificates
gcc libsuitesparse-dev libc6-dev liblapack-dev libopenblas-dev liblapack3 \ libopenblas-base libblas-dev libatlas-base-dev pkg-config \ libfontconfig libfontconfig1 qtcreator fontconfig libfontconfig1-dev \ build-essential g++-x86-64-linux-gnu libc6-dev-amd64-cross
git
tini
> /dev/null &&
apt-get clean &&
rm -rf /var/lib/apt/lists/* &&
wget --no-hsts --quiet https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION}/${MINIFORGE_NAME}-${MINIFORGE_VERSION}-Linux-$(uname -m).sh -O /tmp/miniforge.sh &&
/bin/bash /tmp/miniforge.sh -b -p ${CONDA_DIR} &&
rm /tmp/miniforge.sh &&
conda clean --tarballs --index-cache --packages --yes &&
find ${CONDA_DIR} -follow -type f -name '.a' -delete &&
find ${CONDA_DIR} -follow -type f -name '
.pyc' -delete &&
conda clean --force-pkgs-dirs --all --yes &&
echo ". ${CONDA_DIR}/etc/profile.d/conda.sh && conda activate base" >> /etc/skel/.bashrc &&
echo ". ${CONDA_DIR}/etc/profile.d/conda.sh && conda activate base" >> ~/.bashrc RUN mamba install -y python=3.11 matplotlib jupyterlab natsort jupyter notebook #pyqt napari-arboretum #pydantic=1.10.14 RUN pip install btrack #[napari]

ENTRYPOINT ["tini", "--"] CMD [ "/bin/bash" ]

Tag summary

Content type

Image

Digest

sha256:2a1cdcaa8

Size

1.5 GB

Last updated

almost 2 years ago

docker pull spectralnanodiamond/btrack