build: Build the supplied dockerfile object into a dockerimage

Description Usage Arguments Value See Also Examples

View source: R/dockerfile_build.R

Description

Build the dockerfile into a docker image that can be then deployed.

Usage

1
build(x, image, builddir = ".", verbose = TRUE)

Arguments

x

a dockerfile object or path to a dockerfile

image

name of the output image username/image[:tag]

builddir

directory to build the docker image in. defaults to the current working directory

verbose

should the command line results be printed to the R console?

Value

dockerfile

See Also

Other dockerfile: cmd, copy, expose, from, install_r_lib_version, install_r_lib, install, run, update, write_dockerfile

Examples

1
2
3
4
# Start a dockerfile based off of the rocker/shiny image to generate a
# shiny server using R version 3.6.1
dockerfile() %>%
  from("rocker/shiny:3.6.1")

thebioengineer/dockyard documentation built on Dec. 4, 2019, 1:44 a.m.