https://github.com/cellgeni/dockage
Cellgeni Docker files
https://github.com/cellgeni/dockage
Last synced: 5 months ago
JSON representation
Cellgeni Docker files
- Host: GitHub
- URL: https://github.com/cellgeni/dockage
- Owner: cellgeni
- License: agpl-3.0
- Created: 2019-01-08T12:59:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-11-27T21:28:01.000Z (7 months ago)
- Last Synced: 2025-11-30T12:11:50.906Z (7 months ago)
- Language: Dockerfile
- Size: 27.2 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dockage: mooring of Dockerfiles π³
Welcome to Dockage, a collection of Dockerfiles mainly designed for use in bioinformatic workflows.
## Purpose
This repository aims to simplify the process tracking all recipes to assemble our docker images.
Once built, these containers can be easily converted to Singularity format and deployed on HPC clusters, offering both portability and reproducibility.
## Building Docker Images
Each subdirectory contains a Dockerfile for a specific tool or toolbox/pipeline. To build a Docker image locally:
1. Navigate to the specific toolβs directory (e.g., dockage/toolName/).
2. Run the following docker build command:
```bash
docker build -t toolName:version -f Dockerfile.version .
```
This will create a Docker image tagged as `toolName:version` that you can use locally or push to a container registry.
3. To further convert that image to a singularity container we recommend:
```bash
singularity build toolName-version.sif docker-daemon://toolName:version
```
## Repository Structure
```
dockage/
β
βββ tool1/
β βββ Dockerfile # Dockerfile for the latest version or master branch of the tool
β βββ Dockerfile.0.1.2 # Dockerfile for version 0.1.2 of tool1
β βββ additional-files/ # Optional: supplementary scripts or dependencies
β...
β...
βββ scripts/ # Useful scripts for automating the build and conversion process
β βββ build.sh # Example build script for Docker images
β βββ convert.sh # Example script for converting Docker images to Singularity
β
βββ README.md # Documentation and usage instructions
```
# Considerations when creating images
### π Python-based images
Make sure you install `jupyterlab` and `papermill`.
### π R-based images
Make sure you install `rstudio`.
### Dockerfile in docker image
Copy the Dockerfile to the container image as the last step. Add this as the last two lines of your Dockerfile:
```bash
COPY Dockerfile /docker/
RUN chmod -R 755 /docker
```
### GPU-base image
For best compatiblity with current drivers on the HPC we recommend using:
```dockerfile
FROM nvidia/cuda:12.1.1-cudnn8-runtime-ubuntu22.04
```
### β οΈ Do not use conda when creating containers
# Contributing
We welcome contributions! If you have improvements to the existing Dockerfiles or want to add support for more bioinformatics tools, please feel free to open a pull request.