Giter Site home page Giter Site logo

rstudio / docker-r-session-complete Goto Github PK

View Code? Open in Web Editor NEW
18.0 22.0 12.0 166 KB

Dockerfiles for R and Python sessions and jobs to be used with RStudio Server Pro, Launcher, and Kubernetes

Home Page: https://solutions.rstudio.com/sys-admin/launcher/kubernetes/

License: Apache License 2.0

Dockerfile 52.72% Shell 43.38% Makefile 3.90%

docker-r-session-complete's Introduction

DEPRECATED

This repository has been deprecated. There will be no further updates.

Please see the updated source in the rstudio/rstudio-docker-products repository

Specifically, the images that lived here are now maintained here

docker-r-session-complete's People

Contributors

akgold avatar bdeitte avatar colearendt avatar danielfrg avatar koverholt avatar mariasemple avatar sellorm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-r-session-complete's Issues

add libev-dev / libev-devel

Having libev headers makes it possible for folks to build the required Python packages for things like flask and other Python apps.

Push new tag for RSP 1.3 release

Perform these steps after the upcoming RSP 1.3 release is available:

If the final release for RSP 1.3 is RSP 1.3.957-1, then we can tag a release with that version number per the release process:

export VERSION=1.3.957-1
git commit -am "Release for image version ${VERSION}" --allow-empty
git tag -a ${VERSION} -m "${VERSION}"
git push origin ${VERSION}
git push

If the final release for RSP 1.3 is something other than RSP 1.3.957-1, then the versions can be updated in the above steps and then pushed.

cc @danielfrg

Put jupyter into a persistent location

Rather than putting the jupyter install into a location like /opt/python/3.5.3, we should put into a location like /opt/python/jupyter and then register a python kernel. This will be a breaking change in the short term and take a bit more space, but will prevent breaking changes in the long term and make the images more interoperable with other infrastructure.

Error: pandoc version 1.12.3 or higher is required and was not found

I'm using this Docker Image in GitLab and my runner terminated with

Error: pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).

Can we include Pandoc in this Docker image?

My GitLab CI configuration file is

image: rstudio/r-session-complete:bionic

run:
  script:
    - Rscript -e 'rmarkdown::render("report.Rmd")'
  artifacts:
    paths:
      - report.html

Updates to support VS Code and Extensions

The docker session image should be modified as followed:

  1. Change from installing the session from the random tar file to actually using the RSP Debian. This will include the Rstudio-server binary to help install VS code and extensions

  2. Remove the lines to manually install code server, and instead invoke the appropriate RSP install command.
    2a. Caveat one: decide if we should use global extension installs (and install the Python and RStudio extensions) OR opt into user extension land and just install vs code and indicate we want the Rstudio extension installed at session start. I'm leaning towards the global approach
    2b. Caveat two: we should install python-dotenv since thats required for the Rstudio extension
    2c. Caveat three: we need to figure out if vscode.conf can be eliminated from the session image

Sample Dockerfile for bionic attached.

May want to wait for https://github.com/rstudio/rstudio-pro/issues/2564 or https://github.com/rstudio/rstudio-pro/issues/2563

Dockerfile.txt

1.3 RSP images request

I'd like to get some 1.3 session images to start testing the preview builds against. Let me know if I can get set up to do this myself so I don't have to bug anyone. :)

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.