- feat: allow multistage dockerfile creation
- feat: COPY function can now specify a stage to copy from.
- feat: add dedicated cache for
renv::restore - feat: add COMMENT function to add comment in Dockerfile thanks to @jcrodriguez1989
- remove native pipe thanks to @HenningLorenzen-ext-bayer, this enable to use of older R versions
- update
dock_from_renv()test to catch all output lines
- remove sysreqs.r-hub.io to use {pak} instead for system requirement detection
- move from
pak::pkg_system_requirementstopak::pkg_sysreqs()thanks to @B0ydT dock_from_renvallow to specify user to use in Dockerfile- the
dependenciesparameter indock_from_renvif set toTRUEwill install required dependencies plus optional and development dependencies. defaut isNAonly required (hard) dependencies, - Set the minimum version of the {pak} package to 0.6.0.
- Parameterize the
sysreqs_platformused to find system dependencies in pkg_sysreqs (only debian/ubuntu based images are supported)
-
fix : create a
use_pakparameters indock_from_renvto setrenv.config.pak.enabled = FALSEinstead ofrenv.config.pak.enabled = TRUEto avoid issues with {pak} duringrenv::restore() -
feat: use of {memoise} to cache call to
pak::pkg_system_requirements -
fix : dont depend anymore to {renv} use an internalised {renv} version (1.0.3)
-
fix : remove
renv:::lockfileand uselockfile_readinstead -
feat: Added
dock_from_renv(), to create a Dockerfile from a renv.lock file (@JosiahParry, @statnmap) -
feat: Added
parse_dockerfile(), to Create a Dockerfile object from a Dockerfile file (@JosiahParry) -
feat: Added
renv_versionparameter todock_from_renvto be able to fix the renv version to use duringrenv::restore()(@campbead)
-
fix: graceful failing in case no internet
-
fix: the dedicated
compact_sysreqsfunction allow to deal with 'complex' sysreqs, such as chromimum installation -
feat: add jammy ubuntu distro in available distro
- new version of
dock_from_desc()
- Corrected bug in
rthis()
- Added the
add_after()R6 method - Added
dock_from_desc(), to create a Dockerfile from a DESCRIPTION