Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/docker-jupyterlab.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker Image Build Jupyterlab
name: Docker Image Build JupyterLab

on:
push:
Expand All @@ -13,17 +13,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7

- name: Build the Docker image
run: |
cd applications/jupyterlab
docker build -t myjlab -f Dockerfile --no-cache .
./build_local.sh

- name: Info on Docker image sizes
run: |
docker images

- name: Run the Docker container and list python installs
run: |
docker run -t --rm --entrypoint /bin/bash myjlab -c "pip3 list"
cd applications/jupyterlab
./pip_omv_info.sh
13 changes: 13 additions & 0 deletions applications/jupyterlab/build_local.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
set -ex

# Set the platform flag if we're on ARM
arch=$(uname -m)
if [[ "$arch" == "arm64" || "$arch" == "aarch64" ]]; then
platform_flag="--platform linux/amd64"
else
platform_flag=""
fi

time DOCKER_BUILDKIT=1 docker build $platform_flag -t myjlab -f Dockerfile .

8 changes: 8 additions & 0 deletions applications/jupyterlab/pip_omv_info.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -e

# A script to print info versions of packages in the JupyterLab container

docker run -t --rm --entrypoint /bin/bash myjlab -c "pip3 list"
echo "--------------------------------------------------------"
docker run -t --rm --entrypoint /bin/bash myjlab -c "omv list -V"
13 changes: 13 additions & 0 deletions applications/jupyterlab/rebuild_local.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
set -ex

# Set the platform flag if we're on ARM
arch=$(uname -m)
if [[ "$arch" == "arm64" || "$arch" == "aarch64" ]]; then
platform_flag="--platform linux/amd64"
else
platform_flag=""
fi

time DOCKER_BUILDKIT=1 docker build $platform_flag -t myjlab -f Dockerfile --no-cache .

8 changes: 8 additions & 0 deletions applications/jupyterlab/run_local.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -e

# A script to run the JupyterLab container locally (build it first with ./build_local.sh)

docker run --network host -it --rm --name myjupyterlab myjlab


10 changes: 9 additions & 1 deletion applications/nwb-explorer/build_local.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#!/bin/bash
set -e

time DOCKER_BUILDKIT=1 docker build -t mynwbosb -f Dockerfile .
# Set the platform flag if we're on ARM
arch=$(uname -m)
if [[ "$arch" == "arm64" || "$arch" == "aarch64" ]]; then
platform_flag="--platform linux/amd64"
else
platform_flag=""
fi

time DOCKER_BUILDKIT=1 docker build $platform_flag -t mynwbosb -f Dockerfile .
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export const MainDrawer = (props: {
<ListItemIcon>
<HomeIcon />
</ListItemIcon>
<ListItemText primary="Main site" />
<ListItemText primary="OSB homepage" />
</ListItemButton>

<ListItemButton
Expand Down
13 changes: 10 additions & 3 deletions applications/osb-portal/src/components/dialogs/AboutDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,20 @@ export const AboutContent = (props: any) => {
<Typography variant="body1">
OSBv2 is being developed by the{" "}
<Link href="http://silverlab.org/" target="_blank" underline="hover">
Silver Lab at University College London
Silver Lab
</Link>{" "}
in collaboration with{" "}
and the{" "}
<Link href="http://openneuroai.org/" target="_blank" underline="hover">
Gleeson Lab
</Link>{" "}
at {" "}
<Link href="http://ucl.ac.uk/" target="_blank" underline="hover">
UCL
</Link>, in collaboration with{" "}
<Link href="https://metacell.us" target="_blank" underline="hover">
MetaCell
</Link>
, and is funded by{" "}
, and has been funded by{" "}
<Link href="https://wellcome.org/" target="_blank" underline="hover">
Wellcome
</Link>
Expand Down
Loading
Loading