Dockerfile from renv.lock

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(dockerfiler)

gen_base_image

Create a Dockerfile from a renv.lock file

#' \dontrun{
#' dock <- dock_from_renv("renv.lock", distro = "xenial")
#' dock$write("Dockerfile")
#' }


Try the dockerfiler package in your browser

Any scripts or data that you put into this service are public.

dockerfiler documentation built on Nov. 13, 2023, 5:09 p.m.