use_dockerfile: Use dockerfile template

Description Usage Arguments Details Value Examples

View source: R/use_dockerfile.R

Description

Use dockerfile template

Usage

1
2
3
4
5
6
7
use_dockerfile(
  name,
  person,
  description,
  license = "Artistic-2.0",
  path = tempdir()
)

Arguments

name

'character(1)', name of the image.

person

'person(1)', class person which holds information. Only the maintainer is listed on the LABEL information of the Docker image.

description

'character(1)', description of image.

license

'character(1)', license of image.

path

'character(1)', parent path where folder repository should be created.

Details

The 'use_dockerfile' function is used to create new dockerfiles based on the bioconductor/bioconductor_docker set of images. The function provides a template for creating your image.

Value

invisible

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## detailed example

use_dockerfile(
    name = "custom_image",
    person = person("Foo", "Bar",
        email="foo@bar.com", role = c("aut", "cre")
    ),
    description = "My image",
    license = "GPL",
    path = tempdir()
)

## minimal exmaple
use_dockerfile("custom_image",
    person(
        "abc", "def",
        email = "abc@def.com",
        role = c("cre", "aut")
    )
)

BiocDockerManager documentation built on March 21, 2021, 6 p.m.