Skip to content

Commit cf945d1

Browse files
authored
Merge pull request #18 from uw-it-aca/pm_fix-rstudio-gdal-issue
fixed GDAL install issue, installed fastR2
2 parents aef87d8 + 814eff6 commit cf945d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rstudio/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ FROM $BASE_CONTAINER
44
# Base notebook for 1.4.2 uses Ubuntu 20.04 (Focal)
55

66
RUN pip install jupyter-rsession-proxy
7-
RUN conda install -y -c r r-tidyverse
7+
RUN conda install -y -c r r-tidyverse gdal
88

99
# install rstudio-server
1010
USER root
1111

1212
# Per: http://cran.rstudio.com/bin/linux/ubuntu/
1313
RUN apt-get update && \
14-
apt-get install gdebi-core -y && \
14+
apt-get install gdebi-core libproj-dev proj-data proj-bin libgeos-dev build-essential -y && \
1515
curl --silent -L --fail https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2021.09.1-372-amd64.deb > /tmp/rstudio.deb && \
1616
echo 'c58df09468870b89f1796445853dce2dacaa0fc5b7bb1f92b036fa8da1d1f8a3 /tmp/rstudio.deb' | shasum -a 256 -c - && \
1717
apt-get install -y /tmp/rstudio.deb && \
@@ -33,7 +33,7 @@ RUN pip install nbgitpuller && \
3333

3434
# See: https://github.com/uw-it-aca/rttl-notebooks/pull/15
3535
RUN R -e "devtools::install_github('IRkernel/repr', ref = 'master')"
36-
RUN R -e "install.packages('IRkernel',repos='http://cran.us.r-project.org')"
36+
RUN R -e "install.packages(c('IRkernel', 'fastR2'),repos='http://cran.us.r-project.org')"
3737
RUN R -e "IRkernel::installspec()"
3838

3939
ENV RSESSION_PROXY_RSTUDIO_1_4=yes

0 commit comments

Comments
 (0)