commands: Get the list of commands

Description Usage Arguments Value Examples

View source: R/dockerfile_obj.R

Description

Get the list of commands from the dockerfile object.

Usage

1

Arguments

df

a dockerfile object

Value

character vector

Examples

1
2
3
4
5
6
7
# Start a dockerfile based off of the rocker/shiny image to generate a
# shiny server using R version 3.6.1
df <- dockerfile() %>%
  from("rocker/shiny:3.6.1") %>%
  run("echo 'hello world'")

commands(df)

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