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

Commit 7d8760e

Browse files
committed
Installed .NET core runtime with R installed on top of Ubuntu:bionic and added back R Tools extension
1 parent 01e3111 commit 7d8760e

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

containers/R/.devcontainer/Dockerfile

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,20 @@
33
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
44
#-------------------------------------------------------------------------------------------------------------
55

6-
FROM r-base:3.6.0
6+
FROM rocker/r-apt:bionic
77

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

11+
# Register Microsoft key and feed
12+
RUN wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb && \
13+
dpkg -i packages-microsoft-prod.deb
14+
15+
# Install the .NET Runtime
16+
RUN add-apt-repository universe && \
17+
apt-get install apt-transport-https && \
18+
apt-get update && \
19+
apt-get -y install dotnet-runtime-2.1
1120

1221
# Clean up
1322
RUN apt-get autoremove -y \

containers/R/.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"postCreateCommand": "R --version",
1616

1717
"extensions": [
18-
"ikuyadeu.r"
18+
"ikuyadeu.r",
19+
"mikhail-arkhipov.r"
1920
]
2021
}

0 commit comments

Comments
 (0)