study-docker-repro-longevity/artifacts_nickel/template.ncl

16 lines
529 B
Plaintext
Raw Normal View History

2024-07-17 14:56:38 +02:00
let { Artifact, .. } = import "../workflow/nickel/artifact_contract.ncl" in
{
artifact_url = "https://example.com/artifact.zip",
type = "zip", # Possible values: zip, tar
doi = "...",
image_name = "image:version",
dockerfile_location = "path/to/docker/folder",
package_managers = [ "dpkg" ], # Possible values: dpkg, rpm, pacman, pip, conda
git_packages = [
{ name = "pkg1", location = "path/to/git/repo"}
],
misc_packages = [
{ name = "mpkg1", url = "http://example.com/package.zip" }
2024-07-17 14:56:38 +02:00
]
} | Artifact