create_shellscript
: hard-code "os_release" to "20.04", as CRAN version of
remotes
does not support "Ubuntu 22.04" in remotes::system_requirements
.DESCRIPTION
, LICENSE
etc to ADDIUMWhiteboxTools_linux_amd64.zip
binary in the repository.full
software bundles again and integrate the required software
into the aws
software bundle in order to keep the image stack more
concise.r-aws-full
to image stack (#14):
this image contains some more package dependencies forplumber
APIscreate_shellscript
function
(as seen at https://github.com/rocker-org/rocker-versioned2/tree/master/scripts)curl
and reticulate
to r-aws-minimal
image in order to be able
to renv::restore()
during docker build
using this image (without
adding all the required system libraries by hand in each project)RETICULATE_PYTHON
againlibbz2-dev python3-dev python3-venv
as system librariesvapour
package from spatial package list, as archived on CRAN
as of 2022-09-08RETICULATE_PYTHON=/usr/bin/python3
python3-pip
as system librarypypkgs
to mdsrocker_installation
: possibility to add Python
packages to docker imagespipreqs
for all aws
-base imagessoftware-properties-common
to all images (#10)ubuntu-unstable
repo to sources for spatial images (#10)curl
to list of system libraries in r-aws-minimal
r-aws-minimal
(#6)libssl-dev
and libsasl2-dev
to default syslibs for r-aws-minimalvapour
to package list for r-xxx-spatialxml2
from cicd to aws package list.add fix for failed downloads of whitebox executable (#4), see whiteboxR issue.
Current Solution:
+ manual download and intergration of zipfile into package
+ COPY zip during docker build
+ add unzip part into install_spatial.sh
create_dockerfile
: define System Environment Variable
R_WHITEBOX_EXE_PATH=/usr/local/bin/WBT/whitebox_tools
in r-aws-spatial
image docker files (which is also accessible by containers started from
final image, so that whitebox::wbt_init
should find the installed
executable). See https://vsupalov.com/docker-arg-env-variable-guide/ for
more info.create_shellscript
: make use of the env var when installing
the whiteboxtools during docker build
(whitebox::install_whitebox(pkg_dir = "/usr/local/bin")
)create_action_workflow_publish_docker_images
Update Building System
update-building-system.yml
DESCRIPTION
and create functions to handle multiple R versions
(necessary for new R version 4.1.3, released on 2022-03-10).DESCRIPTION
field
Config/Docker/Rversions
.update-building-system.yml
:execute.R
script to update all relevant scripts/files
(shell scripts, dockerfiles, publish-docker-images.yml)Publish Docker Images
workflowcreate_action_workflow_publish_docker_images
:auto_label
: correct handling of url
(depending on used git protocol
ssh
or https
).git
to r-aws-minimal image (necessary for use in renv::restore
when installing METER R-packages from Gitlab).rocker_installation
) and docker files (rocker_dockerfiles
),create_shellscript
), dockerfiles (create_dockerfile
) and
Github Actions workflow (create_github_workflow
)execute.R
script, which can be called to create/update the various
files.README.Rmd
NEWS.md
file to track changes to the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.