install: Apt-get install software

Description Usage Arguments Value See Also Examples

View source: R/dockerfile.R

Description

Add software to install to docker image via 'apt-get'

Usage

1

Arguments

df

a dockerfile object from 'dockerfile()'

...

The software to install to the docker image

Value

dockerfile

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Start a dockerfile based off of the rocker/shiny image to generate a
# shiny server using R version 3.6.1, update all existing software
# and install git and curl.

dockerfile() %>%
  from("rocker/r-ver:devel") %>%
  update() %>%
  install("sudo","gdebi","pandoc","pandoc-citeproc",
          "libcurl4-gnutls-dev","libcairo2-dev",
          "libxtdev","wget")

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