Build a Container for fastqc from bioconda
Steps to build this docker container.
- Look up on anaconda the tool you wish to install
- create an
environment.yml
file either manually or automatically - Use the template
Dockerfile
modifying if necessary (in our case we have no custom files for thesrc
directory so we do not use that) - Build the Docker Image
- Set up GitHub Actions
To build your image from the command line:
- Can do this on Google shell - docker is installed and available
docker build -t fastqc .
To test this tool from the command line
Set up an environment variable capturing your current command line:
PWD=$(pwd)
Then mount and use your current directory and call the tool now encapsulated within the environment.
docker run -it -v $PWD:$PWD -w $PWD fastqc fastqc -h
gh auth login