Skip to content

rmgpanw/rwd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Our TRE development container

Overview

Docker Build & Push

Creates a docker image using GitHub Actions, based on rocker/geospatial with additional R packages and their system dependencies installed.

Github actions is used to build the docker image and push this to Docker Hub. The image tag is a concatenation of the original rocker/geospatial image tag with the first 7 characters for the commit in this GitHub repository, from which the image was built. For example, the tag name 4.3-be9be18 would indicate that image rocker/geospatial:4.3 was used in commit be9be18

See also:

Usage instructions

  • Pull image with docker pull rmgpanw/rwd:<TAG>
  • Open a terminal in the directory to be bind mounted and launch container with (changing 'password' to something more secure):
project_dir=$(pwd)

docker run -e PASSWORD=password \
--rm -p 8787:8787 \
-v ${project_dir}:/home/rstudio/my-project \
rmgpanw/rwd:<TAG>
  • Open a browser window with localhost:8787 and login to RStudio with username 'rstudio' and the password set in the previous step
  • To run Jupyter Lab use jupyter lab --ip=0.0.0.0 --allow-root --no-browser, which uses port 8888

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •