Skip to content

data-team-uhn/cards-sling-feature-downloader

Repository files navigation

This program is used to add the required .jar files to a CARDS Docker image so that it can be self-contained and thus not require connectivity to remote Maven repositories during startup. This program should only copy the .jar files that are necessary for running CARDS and not building CARDS thus producing a smaller-sized Docker image that is less likely to generate false positives during security scans.

Building

docker build -t cards/sling-feature-downloader .

Using

  1. In your local CARDS repository build a CARDS Docker image.
mvn clean install -Pdocker
  1. In this directory, run run.sh as follows.
./run.sh /path/to/cards/local/repository cards.input.docker.image cards.output.docker.image

For example,

./run.sh ~/Documents/cards cards/cards:latest ghcr.io/data-team-uhn/cards:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published