Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 872 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 872 Bytes

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