Created
April 1, 2023 11:31
-
-
Save winstxnhdw/20e620f5b70741c03851ea3d4a8df84b to your computer and use it in GitHub Desktop.
Dockerfile for building an interactive and stable R environment.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:rolling | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt update | |
RUN apt upgrade | |
RUN apt install r-base -y | |
RUN apt install python3-pip -y | |
RUN pip install -U radian | |
RUN echo "alias r='radian'" >> ~/.bashrc | |
RUN R -e "install.packages('languageserver')" | |
RUN R -e "install.packages('httpgd')" | |
# docker build -t r-env . | |
# docker run --rm -it r-env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment