-
Notifications
You must be signed in to change notification settings - Fork 25
Add Allen Institute OpenScope image #233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
cfa7dbc
First draft
asmacdo 7d4a924
Installing openscope the satra suggested way
asmacdo 5de03b0
ubuntu 23+ doesnt work with libgl1-mes-glx
asmacdo c7708f0
add Make target for image development
asmacdo 19f339f
document how to build and test new images
asmacdo 75d945d
Add openscope to hub options
asmacdo 124e3ba
Add openscope image to image build/test
asmacdo 149b5a8
Update Dockerfile.openscope
asmacdo 2d86d73
Update README.md
asmacdo efdae6b
Remove makefile
asmacdo 19639b8
Move docs to dandi-docs
asmacdo ccf389a
Fixup rm removed link
asmacdo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,75 @@ | ||
| FROM quay.io/jupyter/datascience-notebook:python-3.11.10 | ||
|
|
||
| USER root | ||
|
|
||
| RUN apt update \ | ||
| && apt install -y software-properties-common \ | ||
| && add-apt-repository -y 'ppa:apptainer/ppa' \ | ||
| && apt update \ | ||
| && apt install -y apptainer-suid \ | ||
| && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/* | ||
|
|
||
| RUN apt-get update && apt-get install -y ca-certificates libseccomp2 \ | ||
| s3fs netbase less parallel tmux screen vim emacs htop curl \ | ||
| && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/* | ||
|
|
||
| RUN curl --silent --show-error "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" \ | ||
| -o "awscliv2.zip" && unzip awscliv2.zip \ | ||
| && ./aws/install && rm -rf ./aws awscliv2.zip | ||
|
|
||
| # Install jupyter server proxy and desktop | ||
| RUN curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg \ | ||
| && echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list \ | ||
| && apt-get -y -qq update \ | ||
| && apt-get -y -qq install \ | ||
| dbus-x11 \ | ||
| xfce4 \ | ||
| xfce4-panel \ | ||
| xfce4-session \ | ||
| xfce4-settings \ | ||
| xorg \ | ||
| xubuntu-icon-theme \ | ||
| brave-browser \ | ||
| tigervnc-standalone-server \ | ||
| tigervnc-xorg-extension \ | ||
| # chown $HOME to workaround that the xorg installation creates a | ||
| # /home/jovyan/.cache directory owned by root | ||
| && chown -R $NB_UID:$NB_GID $HOME \ | ||
| && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/* | ||
|
|
||
| # apt-get may result in root-owned directories/files under $HOME | ||
| RUN mkdir /opt/extras && chown -R $NB_UID:$NB_GID $HOME /opt/extras | ||
|
|
||
| USER $NB_USER | ||
|
|
||
| RUN pip install --no-cache-dir jupyter-remote-desktop-proxy | ||
|
|
||
| ENV MAMBA_NO_LOW_SPEED_LIMIT=1 | ||
|
|
||
| RUN mamba install --yes 'datalad>=0.18' rclone 'h5py>3.3=mpi*' ipykernel zarr blosc eccodes websockify \ | ||
| && wget --quiet https://raw.githubusercontent.com/DanielDent/git-annex-remote-rclone/v0.8/git-annex-remote-rclone \ | ||
| && chmod +x git-annex-remote-rclone && mv git-annex-remote-rclone /opt/conda/bin \ | ||
| && conda clean --all -f -y && rm -rf /tmp/* | ||
|
|
||
| RUN pip install --no-cache-dir -U plotly jupyter_bokeh jupytext nbgitpuller datalad_container \ | ||
| datalad-osf dandi nibabel nilearn pybids spikeinterface neo itkwidgets \ | ||
| 'pydra>=0.25' 'pynwb>=2.8.3' 'nwbwidgets>=0.10.2' hdf5plugin s3fs h5netcdf "xarray[io]" \ | ||
| aicsimageio kerchunk 'neuroglancer>=2.28' cloud-volume ipywidgets ome-zarr \ | ||
| webio_jupyter_extension https://github.com/balbasty/dandi-io/archive/refs/heads/main.zip \ | ||
| tensorstore anndata | ||
|
|
||
| RUN pip install --no-cache-dir multiscale_spatial_image jupyterlab-git \ | ||
| datalad-fuse | ||
|
|
||
| RUN pip install --no-cache-dir brainrender napari | ||
|
|
||
| # Leaving "standard" Dockerfile copy above as-is to simplify later switch to modular builds. | ||
| USER root | ||
|
|
||
| RUN apt-get install -y coreutils libgl1 libglx-mesa0 libglib2.0-0 && rm -rf /var/lib/apt/lists/* /tmp/* | ||
|
|
||
| USER $NB_USER | ||
|
|
||
| RUN cd /tmp \ | ||
| && git clone https://github.com/AllenInstitute/openscope_databook.git \ | ||
| && pip install --no-cache-dir -e './openscope_databook[dev]' | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.