Skip to content

Latest commit

 

History

History

1.0.0-base-r-4.2.0

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

workflow-r-standard-pack-1.0.0-base-r-4.2.0

The workflow-r-standard-pack image contains the essential packages that are required for running Peak Workflows.

Image details

Base image

This image uses r-base:4.2.0 as its base which is maintained by the Rocker Community.

OS and other basic details

Debian         bookworm/sid
Linux Kernel   5.10.104-linuxkit
R              4.2.0

Linux packages installed

aws-cli                 2.2.5
git                     2.35.1
redshift-odbc-driver    1.4.27.1000
snowflake-odbc-driver   2.24.4

R librariesinstalled

odbc                    1.3.3

Environment variables

The Dockerfile expects the following build arguments:

AMAZONREDSHIFTODBCINI This represents the location of amazon.redshiftodbc.ini file. The location is set to /home/peak-user/redshift/amazon.redshiftodbc.ini

ODBCSYSINI This represents the location of odbcinst.ini file. The location is set to /home/peak-user by default.

ODBC setup

Make sure the odbcinst.ini file exists in the /home/peak-user directory, and the ODBCSYSINI env has been set accordingly.

For more information on setting up ODBC for both Snowflake and Redshift, see:

Build arguments

The Dockerfile expects the following build argument:

PEAK_USER_ID

When a Workflow step runs with the workflow-r-standard image, this is the default user that the workflow step will run with. It is used within the image to create a new user which is then used when running the image across various services in Peak. For more details, see Non root users and Peak.

You can find more details about build arguments in the Docker documentation.

Building the image

To build the image locally, run the Docker build command and pass in the required build arguments.

docker build . -t workflow-r-standard-pack-1.0.0-base-r-4.2.0 -build-arg PEAK_USER_ID=8877

You can find more details about building an image in the Docker documentation.

Using the image

To use the image, select it when configuring the Workflow step. If you need to install additional dependencies or add some use case specific environment variables, it can be easily extended.