bake_dockerfile_dependencies: Append app-specific package installs to the Dockerfile

View source: R/build-templates.R

bake_dockerfile_dependenciesR Documentation

Append app-specific package installs to the Dockerfile

Description

Bakes system dependencies (via the Posit Package Manager sysreqs API and config$dependencies$system_packages) and R/Python package installs into the image at build time so container launch does not have to compile/install packages on the user's machine.

Usage

bake_dockerfile_dependencies(output_dir, dockerfile_dest, config = NULL)

Details

For R apps the base image is rocker/r-ver, which pre-wires P3M binaries; packages are therefore installed via install.packages().


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.