Skip to content
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

Make docker image for nf-core/tools #917

Closed
5 tasks done
ewels opened this issue Mar 18, 2021 · 4 comments
Closed
5 tasks done

Make docker image for nf-core/tools #917

ewels opened this issue Mar 18, 2021 · 4 comments
Assignees
Labels
automation command line tools Anything to do with the cli interfaces low-priority

Comments

@ewels
Copy link
Member

ewels commented Mar 18, 2021

We have a root level Dockerfile in the tools repo which automatically builds at Docker Hub but it's the nfcore/base one that is used as a base for pipeline images: https://hub.docker.com/repository/docker/nfcore/base

It would be good to also write a Dockerfile that builds the nf-core/tools package into an image that people can use (yes I know, it should be on BioContainers too, but doing docker run nfcore/tools is nicer).

  • Build a Dockerfile for tools which has as small a footprint as possible
  • Organise Dockerfiles into directories so we can have both base and tools
  • Remove DockerHub automated builds
  • Write GitHub Actions builds + push to DockerHub
  • Write some documentation
@ewels ewels added low-priority automation command line tools Anything to do with the cli interfaces labels Mar 18, 2021
@phue
Copy link
Member

phue commented Mar 19, 2021

Could be worth considering micromamba as base image for the container builds. Its size is currently just 31MB (vs 150MB for the miniconda base image)

@ewels
Copy link
Member Author

ewels commented Mar 20, 2021

Yup, I was also wondering about just not using conda. I build the MultiQC image using pip and it's pretty small I think. Maybe also using multistage builds?

Also need to install Nextflow into this image and check around for any other dependencies.. 🤔

@ewels
Copy link
Member Author

ewels commented Apr 14, 2021

Done in #996 - needs checking that the image works! 'cc @ErikDanielsson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation command line tools Anything to do with the cli interfaces low-priority
Projects
None yet
Development

No branches or pull requests

3 participants