set_env: sets environment variables in the docker image

Description Usage Arguments Value Examples

View source: R/set_env.R

Description

sets environment variables in the docker image

Usage

1
set_env(dockerfile, env_vars)

Arguments

dockerfile

an object of class dockerfile

env_vars

A named vector of environment variables and their values

Value

dockerfile, a specification of the contents of the dockerfile

Examples

1
2
3
dockerfile() %>%
  set_env(c("S6_VERSION" = "${S6_VERSION:-v1.21.7.0}",
            "S6_BEHAVIOUR_IF_STAGE_2_FAILS", "2"))

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