Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeksterslab/docker-dynr-rocker
A Docker container for R projects based on the Rocker Project with the dynr package.
https://github.com/jeksterslab/docker-dynr-rocker
Last synced: 15 days ago
JSON representation
A Docker container for R projects based on the Rocker Project with the dynr package.
- Host: GitHub
- URL: https://github.com/jeksterslab/docker-dynr-rocker
- Owner: jeksterslab
- Created: 2023-05-26T09:07:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-02T07:18:08.000Z (3 months ago)
- Last Synced: 2024-10-10T05:35:26.780Z (about 1 month ago)
- Language: Shell
- Homepage: https://hub.docker.com/r/jeksterslab/dynr-rocker
- Size: 61.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jeksterslab/dynr-rocker
================
Ivan Jacob Agaloos Pesigan
2024-09-02[![Make
Project](https://github.com/jeksterslab/docker-dynr-rocker/actions/workflows/make.yml/badge.svg)](https://github.com/jeksterslab/docker-dynr-rocker/actions/workflows/make.yml)
[![Docker and Apptainer Build and Push
\[amd64/arm64\]](https://github.com/jeksterslab/docker-dynr-rocker/actions/workflows/docker-apptainer-build-push-amd64-arm64.yml/badge.svg)](https://github.com/jeksterslab/docker-dynr-rocker/actions/workflows/docker-apptainer-build-push-amd64-arm64.yml)
[![Shell
Check](https://github.com/jeksterslab/docker-dynr-rocker/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/jeksterslab/docker-dynr-rocker/actions/workflows/shellcheck.yml)## Description
Docker and Apptainer/Singularity containers for `R` projects based on
the [Rocker Project](https://rocker-project.org/) with the
[dynr](https://github.com/mhunter1/dynr) package.## GitHub Actions
The `Docker and Apptainer Build and Push [amd64/arm64]` GitHub actions
workflow performs the following:- Builds the Docker image specified by the `Dockerfile`.
- Pushes the image to
[DockerHub](https://hub.docker.com/r/jeksterslab/dynr-rocker) using
the tags `latest` and `date and time of build (YEAR-MM-DD-HHMMSSMS)`.
- Builds the Singularity Image File (SIF) using Apptainer based on the
Docker Hub image from the previous step.
- Creates a GitHub release named `dynr-rocker-YEAR-MM-DD-HHMMSSMS`. Note
that `dynr-rocker-YEAR-MM-DD-HHMMSSMS.zip` contains the SIF.## Docker Container
To launch `Rstudio Server`, run the following.
``` bash
docker run --rm -ti -e PASSWORD=yourpassword -p 127.0.0.1:8787:8787 jeksterslab/dynr-rocker
```Open `http://localhost:8787` on your web browser to launch
`Rstudio Server`.- username: rstudio
- password: yourpassword## Apptainer Shell
Download and unzip `dynr-rocker-YEAR-MM-DD-HHMMSSMS.zip` from the GitHub
release to extract `dynr-rocker-YEAR-MM-DD-HHMMSSMS.sif`.``` bash
apptainer shell dynr-rocker-YEAR-MM-DD-HHMMSSMS.sif
```