Welcome to Dockage, a collection of Dockerfiles mainly designed for use in bioinformatic workflows.
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.
Each subdirectory contains a Dockerfile for a specific tool or toolbox/pipeline. To build a Docker image locally:
- Navigate to the specific toolβs directory (e.g., dockage/toolName/).
- Run the following docker build command:
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:
singularity build toolName-version.sif docker-daemon://toolName:versiondockage/
β
βββ 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
Make sure you install jupyterlab, ipykernel and papermill.
Make sure you use rocker/rstudio base image and install IRkernel package to support Jupyter kernel use.
Copy the Dockerfile to the container image as the last step. Add this as the last two lines of your Dockerfile:
COPY Dockerfile /docker/
RUN chmod -R 755 /dockerFor best compatiblity with current drivers on the HPC we recommend using:
FROM nvidia/cuda:12.1.1-cudnn8-runtime-ubuntu22.04We 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.