Skip to content

A miscellaneous set of UMCCR dockerfiles that don't quite go anywhere else.

License

Notifications You must be signed in to change notification settings

umccr/docker-who

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-who-logo

Dockerwho

A miscellaneous set of UMCCR dockerfiles that don't quite go anywhere else.
This repo contains mostly containers used in our CWL pipelines.

Contributing

Folder structure

repository-name
└── major.minor.patch
    ├── Dockerfile
    ├── Readme.md
    └── additional-file

where the docker image is tagged as umccr/<repository-name>:major.minor.patch (patch is optional).

Docker tags / labels

Please lay out your LABEL attributes at the top of the Dockerfile with the following attributes

LABEL author="your name" \
      description="A small description of the docker file" \
      maintainer="[email protected]"

Readme

Complementing each Dockerfile should be a small Readme.md file.

This should be a short document containing the following information.

  1. Further resources:
  • Links to more online help for using this container.
  • Links to GitHub repositories that are used in this repo.
  • References to others when the dockerfile has been mostly inspired / derived from another source.

Auto-creation of docker image with GitHub Actions

If your Dockerfile is pushed to the "main" branch, then it will be built and placed in the GitHub Container registry and accessible via the packages page.

By default packages are private but can be made public in each individual package setting.

You can pull the docker image created via the following command:

docker pull ghcr.io/umccr/<package_name>:<package_version>

Docker images will only be updated if the versioned folder is updated.

Auto-creation of "latest" tags with GitHub Actions

The latest tag will be automatically created / updated on pushes to the 'main' branch if the version is the latest version for that package.

Selecting specific platforms to build

By default both linux/amd64 and linux/arm64 containers are built, however there may exist a situation where just one is appropriate. One can place a config.yaml file beside the image with a platforms key as a list.

See bcl-convert configuration file as an example.

Removing 'untagged' versions.

Do not delete untagged versions of images as it will prevent skopeo from determining the manifest.

If you have a lot of untagged versions, you may remove the package first and then re-push to trigger a fresh rebuild

Large files

Some images require large installation files (such as BCLConvert) that can't be pulled from elsewhere (yay for clickwrap licenses!)

Rather than simplying ignoring this file or adding this large file to git we can use the git lfs system.

If you have a suffix that should be ignored, run the following command at the root directory of this project.

git lfs track "*.<insert_suffix_here>"

Be sure to also add the .gitattributes file at the top of your project to your next commit as well.

About

A miscellaneous set of UMCCR dockerfiles that don't quite go anywhere else.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages