A repository for creating image for acoustics work.
How to use?
- Use the image url in a JupyterHub via url
ghcr.io/nmfs-opensci/image-acoustics:latest
- Use via docker run (note image is Unbuntu OS),
docker run ghcr.io/nmfs-opensci/image-acoustics:latest
Basic idea is that you edit conda/environment.yaml
and the image will update automatically. Watch the Actions tab to make sure the image build aok. If you have other changes you need to make, add files to binder
directory. This uses repo2docker and a GitHub Action in .github/workflows
to build the image and push to ghcr.io
(the GitHub image repository).
- Edit Python modules in
conda/environment.yaml
. The GitHub Action in.github
will create the conda-lock file. - Edit other files in
binder
directory for the image. Therepo2docker
GitHub Action in.github
will rebuild the image. Read about other files you can add to thebinder
directory and how they will be used here. Make sure to update the push criteria in.github/workflows/repo2docker.yaml
if you add files to thebinder
directory.
If the JupyterHub has the Bring your own image feature, then you can paste in ghcr.io/nmfs-opensci/image-acoustics:latest
to the image and a server with your image will spin up.