Skip to content

Commit aa6ab99

Browse files
committed
update: R 4.0.3 kernel
1 parent 0b384a9 commit aa6ab99

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

filebrowser/service-defs/filebrowser.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616
"--noauth",
1717
"--address", "0.0.0.0",
1818
"--port", "8080",
19-
"--database", "/home/work/filebrowser.db",
20-
"--root", "/home/work"
21-
]
19+
"--database", "/home/work/filebrowser.db"
20+
],
21+
"allowed_arguments": [
22+
"--root"
23+
],
24+
"default_arguments": {
25+
"--root": "/home/work"
26+
}
2227
}

r-base/Dockerfile.4.0.2 renamed to r-base/Dockerfile.4.0.3

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM ubuntu:20.04
22
# Ubuntu 18.04 comes with Python 3.6
33

4-
ENV R_VERSION 4.0.2
4+
ENV R_VERSION 4.0.3
55

66
RUN apt-get update && \
77
apt-get install -y \
@@ -13,16 +13,17 @@ RUN apt-get update && \
1313
proj-bin libproj-dev \
1414
libgeos-dev libgeos++-dev \
1515
mime-support \
16-
locales \
17-
fonts-texgyre \
18-
less \
19-
vim-tiny \
20-
liblapack3 \
16+
locales \
17+
fonts-texgyre \
18+
less \
19+
vim-tiny \
20+
liblapack3 \
21+
ncurses-term \
2122
gcc g++ gfortran && \
2223
apt-get autoclean && \
2324
rm -rf /var/lib/apt/lists/*
24-
25-
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
25+
RUN ln -sf /usr/share/terminfo/x/xterm-color /usr/share/terminfo/x/xterm-256color
26+
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
2627
apt-get update -y && \
2728
apt-get install -y nodejs
2829

@@ -91,7 +92,7 @@ RUN Rscript -e "install.packages(c('rzmq','repr','IRkernel','IRdisplay'),type =
9192
Rscript -e "install.packages(c('stm','stmCorrViz'))" && \
9293
Rscript -e "install.packages(c('jsonlite','jsonview','XML','xml2','xmlview'))" && \
9394
Rscript -e "install.packages(c('igraph'))"
94-
RUN Rscript -e "IRkernel::installspec(displayname = 'R-base 4.0.2 On Backend.AI' , user = FALSE)" && \
95+
RUN Rscript -e "IRkernel::installspec(displayname = 'R-base 4.0.3 On Backend.AI' , user = FALSE)" && \
9596
rm -rf /root/.local/share/jupyter && \
9697
jupyter kernelspec list && \
9798
cat /usr/local/share/jupyter/kernels/ir/kernel.json
@@ -109,7 +110,7 @@ RUN jupyter nbextensions_configurator enable && \
109110
# jupyter serverextension enable --py jupyter_lsp && \
110111
jupyter labextension install --no-build @jupyterlab/toc && \
111112
# jupyter labextension install @jupyterlab/hdf5
112-
jupyter labextension install --no-build jupyterlab-nvdashboard && \
113+
# jupyter labextension install --no-build jupyterlab-nvdashboard && \
113114
jupyter lab build
114115
RUN ln -s /usr/lib/x86_64-linux-gnu/libffi.so.7 /usr/lib/x86_64-linux-gnu/libffi.so.6
115116
#RUN ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0

0 commit comments

Comments
 (0)