Skip to contents

A toolkit for programmatically creating, modifying, and validating Dockerfiles in R. Provides a pipe-friendly interface for building Docker environments from R sessions, packages, and scripts, with support for templates and automatic system requirement detection.

Dockerfile Instructions

Functions for adding Dockerfile instructions are prefixed with dfi_* and follow the pattern dfi_instruction(.dockerfile, ...).

Dockerfile Generators

Functions for generating Dockerfiles from various sources are prefixed with dk_* and can create Dockerfiles from an R session, renv lockfile, DESCRIPTION file, or R script.

Dockerfile Modifiers

Functions for modifying Dockerfiles are prefixed with dfm_* and allow for adding, removing, replacing, and moving lines within a Dockerfile.

Dockerignore Management

Functions for managing .dockerignore files are prefixed with di_* and allow for adding and removing patterns from a .dockerignore file.

Author

Maintainer: James Joseph Balamuta james.balamuta@gmail.com (ORCID)