Sign inSign up

brianlovedocker/aztk-sparklyr

By brianlovedocker

•Updated over 8 years ago

Testing out on Aztk-sparklyr

Image
0

539

brianlovedocker/aztk-sparklyr repository overview

⁠R

This Dockerfile is used to build the aztk-r Docker image used by this toolkit. This image uses R and RStudio Server, providing access to a wide range of popular R packages.

You can modify these Dockerfiles to build your own image. However, in mose cases, building on top of the aztk-vanilla image is recommended.

⁠How to build this image

This Dockerfile takes in two variables at build time that allow you to specify your desired Rstudio server versions and R versions: RSTUDIO_SERVER_VERSION and R_VERSION

By default, we set R_VERSION=3.4.2 and RSTUDIO_SERVER_VERSION=1.1.383.

For example, if I wanted to use Rstudio Server v1.1.383 and R 3.2.1 with Spark v2.1.0, I would select the appropriate Dockerfile and build the image as follows:

# spark2.1.0/Dockerfile
docker build \
    --build-arg RSTUDIO_SERVER_VERSION=1.1.383 \
    --build-arg R_VERSION=3.2.1 \
    -t <my_image_tag> .

R_VERSION is used to set the version of R version for your cluster. RSTUDIO_SERVER_VERSION is used to set the version of rstudio server for your cluster.

Tag summary

Content type

Image

Digest

Size

2.7 GB

Last updated

over 8 years ago

docker pull brianlovedocker/aztk-sparklyr:r-gpu-cntk2.2