set_label: Add label metadata to an image

Description Usage Arguments Value Examples

View source: R/set_label.R

Description

Add label metadata to an image

Usage

1
set_label(dockerfile, label_vars)

Arguments

dockerfile

a specification of the contents of the dockerfile

label_vars

A named vector of labels and their values

Value

dockerfile, a specification of the contents of the dockerfile

Examples

1
2
dockerfile() %>%
set_label(c("label_1"="value_1", "label_2"="value_2"))

uncoast-unconf/whaler documentation built on Oct. 31, 2020, 9:10 p.m.