GithubHelp home page GithubHelp logo

insightsengineering_r-image-creator's Introduction

R Image Creator

Description

Creates R images on demand, given a base R image, a set of system dependencies, an renv lock file or even a set of R packages along with repositories that can be used for installing dependencies. This action will publish packages exclusively to ghcr.io (Github Container Registry). DockerHub is not supported at the moment.

Action Type

Composite

Author

Roche/Genentech - Insights Engineering

Inputs

  • image-name:

    Description: name of the image that will be stored into ghcr

    Required: false

    Default: rocker/rstudio:4.3.0

  • repository_owner:

    Description: Repository owner (image will be pushed on ghcr/repository_owner)

    Required: true

  • repo-user:

    Description: User access project container registry. Github variable ${{ github.actor }} can be used.

    Required: true

  • repo-token:

    Description: Token to access project container registry. Github variable ${{ secrets.GITHUB_TOKEN }} can be used.

    Required: true

  • tag:

    Description: Custom Image Tag/Version. Defaults to current date in the YYYY.MM.DD format if unspecified.

    Required: false

    Default: ""

  • tag-latest:

    Description: Tag image as latest

    Required: false

    Default: False

  • base-image:

    Description: Base image

    Required: false

    Default: rocker/rstudio:4.3.0

  • sysdeps:

    Description: A list of system dependencies to install on the image. This should be a comma-separated list of sysdeps. Eg: 'libxml2,adoptopenjdk-8,tcltk' Note that the sysdeps name should be OS-specific. Right now, only Debian OSes (installable via apt) are supported.

    Required: false

    Default: ""

  • renv-lock-file:

    Description: A location of an renv.lock file that should be restored on the image. This can also be a remote location (i.e. a GitHub raw URL etc).

    Required: false

    Default: ""

  • packages:

    Description: A comma-separated list of R packages that should be installed on the image. Dependencies will be fetched from the 'repos' option specified below. Eg: 'pharmaverse/admiral,pharmaverse/admiralonco,dplyr'

    Required: false

    Default: ""

  • repos:

    Description: A comma-separated set of R package repository URLs that can be used for getting dependencies for the 'packages' installed. Eg: 'https://cloud.r-project.org,https://cran.r-project.org'

    Required: false

    Default: https://cloud.r-project.org

Outputs

None

insightsengineering_r-image-creator's People

Contributors

cicdguy avatar dgrassellyb avatar insights-engineering-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.