/RLumDocker

Docker images providing RStudio Server and the R package 'Luminescence'

Primary LanguageDockerfile

RLumDocker

Docker images providing RStudio Server and the R package ‘Luminescence’

Docker Containers

R.Luminescence repositories on Docker Hub

Build Status

Image Subfolder Size Build type Metrics Run image
rlum/core core docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/core
rlum/stable stable docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/stable
rlum/dev dev docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/dev
rlum/archive archive docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:<version>
rlum/drac drac docker run -d -p 80:80 rlum/drac:<version>

Image content

The base image rlum/core builds on top of rocker/rstudio:latest (see the ‘rocker’-project by D. Eddelbuettel and C. Boettiger) with additional installs of:

  • JAGS
  • rgl
  • devtools
  • ggplot2
  • tidyverse
  • rmarkdown

rlum/stable contains the following packages currently available on CRAN:

  • Luminescence
  • RLumModel
  • RLumShiny

rlum/dev installs the latest development versions of these packages via devtools::install_github() from the following repositories:

rlum/archive provides static Docker images for each release version of the R package ‘Luminescence’. See the table below for all available images.

Dose Rate and Age Calculator (DRAC) images

This repository also includes Dockerfiles to create docker images running an Apache server with PHP 7.0 that hosts DRAC. Pre-made images are available here and can be run using docker run -d -p 80:80 rlum/drac:<version> (replace <version> with any of the tags listed here). Once the container has been started open your browser and open http://localhost/.

Quick usage guide

Install docker

Please follow one of the following guides depending on your OS:

Run container

First, make sure that Docker has been successfully installed and that the Docker service is running. In your preferred command-line interface (bash, CMD, powershell, …) type in:

docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/stable:latest

This command will automatically download (only once) and run the docker image that includes RStudio with the R packages ‘Luminescence’, ‘RLumModel’ and ‘RLumShiny’ pre-installed. The -d (or --detach) flag tells Docker to run the container in the background. With -p 8787:8787 we further specify the port on which RStudio Server listens to and with -e PASSWORD=yourpassword we set a password for the user RStudio (required). The service should start immediately. The RStudio interface is then available on http://localhost:8787. rlum/stable:latest refers to the username (rlum), repository (stable) and image tag (latest). If you want to use an older version of ‘Luminescence’ located in the archive repository use e.g. rlum/archive:0.4.4.

Stop container

Copy and run the following line in the shell (this does not work in windows CMD!):

docker stop $(docker ps -a -q)

Dependency graph

depgraph

Archived version

Version 0.1.x

Version Size Pull image Run image
docker pull rlum/archive:0.1.7 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.1.7
docker pull rlum/archive:0.1.8 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.1.8

Version 0.2.x

Version Size Pull image Run image
docker pull rlum/archive:0.2.0 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.2.0
docker pull rlum/archive:0.2.1 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.2.1
docker pull rlum/archive:0.2.2 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.2.2
docker pull rlum/archive:0.2.3 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.2.3
docker pull rlum/archive:0.2.4 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.2.4

Version 0.3.x

Version Size Pull image Run image
docker pull rlum/archive:0.3.0 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.3.0
docker pull rlum/archive:0.3.1 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.3.1
docker pull rlum/archive:0.3.2 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.3.2
docker pull rlum/archive:0.3.3 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.3.3
docker pull rlum/archive:0.3.4 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.3.4

Version 0.4.x

Version Size Pull image Run image
docker pull rlum/archive:0.4.0 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.4.0
docker pull rlum/archive:0.4.1 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.4.1
docker pull rlum/archive:0.4.2 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.4.2
docker pull rlum/archive:0.4.3 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.4.3
docker pull rlum/archive:0.4.4 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.4.4
docker pull rlum/archive:0.4.5 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.4.5
docker pull rlum/archive:0.4.6 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.4.6

Version 0.5.x

Version Size Pull image Run image
docker pull rlum/archive:0.5.0 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.5.0
docker pull rlum/archive:0.5.1 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.5.1

Version 0.6.x

Version Size Pull image Run image
docker pull rlum/archive:0.6.0 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.6.0
docker pull rlum/archive:0.6.1 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.6.1
docker pull rlum/archive:0.6.2 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.6.2
docker pull rlum/archive:0.6.4 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.6.4

Version 0.7.x

Version Size Pull image Run image
docker pull rlum/archive:0.7.0 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.7.0
docker pull rlum/archive:0.7.3 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.7.3
docker pull rlum/archive:0.7.4 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.7.4
docker pull rlum/archive:0.7.5 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.7.5

Version 0.8.x

Version Size Pull image Run image
docker pull rlum/archive:0.8.2 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.8.2
docker pull rlum/archive:0.8.3 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.8.3
docker pull rlum/archive:0.8.4 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.8.4
docker pull rlum/archive:0.8.5 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.8.5
docker pull rlum/archive:0.8.6 docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:0.8.6