In this case, the conda install does not work -- instead, this Dockerfile gets the release.
Steps to build this docker container.
- Determine the dependencies by iterative running of .configure
- Use ubuntu base image
- get each of the dependencies
- run the steps specified for building and installing
To edit the files:
- Use a simple editor (Text Edit on Mac is fine) - we want to be cautious about unseen characters
- Use emacs (can be installed with conda)
conda install -c conda forge emacsTo build your image from the command line:
- Can do this on Google shell - docker is installed and available
docker build -t samtools .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.
Any samtools command can be used to check.
docker run -it -v $PWD:$PWD -w $PWD samtools samtools fastqUsing this published release we have to follow the instructions to authenticate with GitHub by using your GitHub token. Authenticating to the Container Registry
- Create your own personal access token
- set an environment variable to your token
export CR_PAT=Your_Token- Then on the command line you can
echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdinThen you can use the command to pull the image from the GitHub repository.