Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/achubaty/rocker-files
A collection of R Docker files based on the Rocker Project
https://github.com/achubaty/rocker-files
Last synced: 18 days ago
JSON representation
A collection of R Docker files based on the Rocker Project
- Host: GitHub
- URL: https://github.com/achubaty/rocker-files
- Owner: achubaty
- License: gpl-2.0
- Created: 2015-04-17T22:25:25.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-11-26T18:19:05.000Z (about 1 month ago)
- Last Synced: 2024-11-26T19:25:07.813Z (about 1 month ago)
- Language: Dockerfile
- Homepage:
- Size: 102 KB
- Stars: 6
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rocker-files
Dockerfiles based on the [`rocker`](https://github.com/rocker-org/rocker-versioned2) project by @eddelbuettel and @cboettig.
All of the images below are available from [Docker Hub](https://hub.docker.com/r/achubaty/) and can be pulled using:
```bash
docker pull achubaty/:
```## Package development and testing
**Image** | **Description**
-----------|-----------------
[`r-spatial-base`](https://hub.docker.com/r/achubaty/r-spatial-base/) | Additional spatial/mapping tools to extend the `rocker/geospatial:ubuntugis` images.
[`r-spatial-devel`](https://hub.docker.com/r/achubaty/r-spatial-devel/) | Adds various R spatial/mapping tools to the `rocker/verse:devel` image per `rocker/geospatial:ubuntugis`.The following tags are supported, which correspond to the major/minor R version used in the image:
- `latest` (uses R 4.4.1)
- `4.4` (uses R 4.4.1)
- `4.3` (uses R 4.3.3)
- `4.2` (uses R 4.2.3)
- `4.1` (uses R 4.1.3)
- `4.0` (uses R 4.0.5)### Usage example
1. launch an instance of a container
```bash
docker run --rm -ti -e PASSWORD=yourpassword -p 8080:8787 achubaty/r-spatial-base:4.2
```2. connect to the running container's Rstudio instance
Open your web browser and connect to `localhost:8080`, using username `rstudio` and the password you set in step 1 above.
## SpaDES projects
Generic Dockerfiles for building projects pinned to a specific version of R can be found in `dockerfiles/`.
- `spades-project_4.2.3` builds a generic image for R 4.2.3
- `spades-project_4.3.2` builds a generic image for R 4.3.2**These generic dockerfiles are intended to be used to build project-specific images.**
### Building the base `spades-project` image
```bash
docker build . \
-f ${HOME}/GitHub/rocker-files/dockerfiles/spades-project_4.3.2.Dockerfile \
-t achubaty/spades-project:4.3.2
```**Image** | **Description**
-----------|-----------------
[`spades-project`](https://hub.docker.com/r/achubaty/spades-project/) | Additional spatial/mapping tools to extend the `rocker/geospatial:ubuntugis` images for use with SpaDES projects.The following tags are supported, which correspond to the major/minor R version used in the image:
- `latest` (uses R 4.3.1)
- `4.3.1` (uses R 4.3.1)
- `4.2.3` (uses R 4.2.3)