Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Installed .NET core runtime with R installed on top of Ubuntu:bionic …
Browse files Browse the repository at this point in the history
…and added back R Tools extension
  • Loading branch information
kmehant committed Jun 9, 2019
1 parent 01e3111 commit 7d8760e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
15 changes: 12 additions & 3 deletions containers/R/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,20 @@
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

FROM r-base:3.6.0
FROM rocker/r-apt:bionic

# Install git, process tools, lsb-release (common in install instructions for CLIs) and GPG
RUN apt-get update && apt-get -y install git procps lsb-release
# Install git, process tools, lsb-release (common in install instructions for CLIs) and libzip for R Tools extension
RUN apt-get update && apt-get -y install git procps lsb-release libzip-dev

# Register Microsoft key and feed
RUN wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb && \
dpkg -i packages-microsoft-prod.deb

# Install the .NET Runtime
RUN add-apt-repository universe && \
apt-get install apt-transport-https && \
apt-get update && \
apt-get -y install dotnet-runtime-2.1

# Clean up
RUN apt-get autoremove -y \
Expand Down
3 changes: 2 additions & 1 deletion containers/R/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"postCreateCommand": "R --version",

"extensions": [
"ikuyadeu.r"
"ikuyadeu.r",
"mikhail-arkhipov.r"
]
}

0 comments on commit 7d8760e

Please sign in to comment.