Skip to content

velaco/alpine-r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alpine-r

Docker images for R based on Alpine Linux.

Supported Tags

Why Use alpine-r Images

Alpine Linux is a lightweight distribution. Using it as a base to build Docker images can significantly reduce the size of the final image.

REPOSITORY TAG BASE COMPRESSED SIZE
velaco/alpine-r base-3.5.0-r1 alpine:3.8 143MB
rocker/r-base latest debian:testing 291 MB

Notes. Table last updated 27 Oct 2018. The rocker/r-base image also includes additional packages of interest to R users, e.g. littler.

Although smaller images are usually preferred, I don't recommend using Docker images for R based on Alpine Linux in production. This is not an official repository and images from rocker are much more reliable than the ones you'll find here.

How to Use alpine-r Images

If you decide to use these images, you can get them with the docker pull command. For example, if you want to pull the image tagged base-3.5.0-r1, use this command:

docker pull velaco/alpine-r:base-3.5.0-r1

To run the container, which starts R by default, run:

docker run --rm -it velaco/alpine-r:base-3.5.0-r1

You can also specify a different command you want to run. For example, running the container with following command will start a shell:

docker run --rm -it velaco/alpine-r:base-3.5.0-r1 sh

To use the image as a base for building your images, add the following line to your Dockerfile:

FROM velaco/alpine-r:base-3.5.0-r1

# Your instructions from here

License

The code in this repository is MIT licensed (see the LICENSE file for details).

About

Docker images for R based on Alpine Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published