Skip to content

Commit

Permalink
Working Docker image for September
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimbers authored Jul 22, 2021
1 parent c03b7cc commit 790b678
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions r-dsci-100/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ LABEL maintainer="Tiffany Timbers <[email protected]>"

# Install R packages on conda-forge
RUN conda install --quiet --yes -c conda-forge \
r-cowplot \
r-ggally \
r-gridextra \
r-infer \
r-kknn \
r-testthat=2.3.* \
r-rpostgres
r-cowplot=1.1.* \
r-ggally=2.1.* \
r-gridextra=2.3 \
r-infer=0.5.* \
r-kknn=1.3.* \
r-rpostgres=1.3.*

# Install testthat version 2.3
RUN Rscript -e "devtools::install_version('testthat', version = '2.3.2', repos = 'http://cran.us.r-project.org')"

# Install the palmerpenguins dataset
RUN Rscript -e "devtools::install_github('allisonhorst/[email protected]')"
Expand All @@ -28,7 +30,7 @@ RUN pip install git+https://github.com/data-8/nbgitpuller \
&& jupyter serverextension enable --sys-prefix nbgitpuller \
&& pip install jupyterlab-git \
&& pip install jupytext --upgrade \
&& jupyter labextension install @techrah/text-shortcuts \
&& jupyter labextension install @ttimbers/text-shortcuts \
&& jupyter lab build

RUN useradd -m -s /bin/bash -N -u 9999 jupyter
Expand Down

0 comments on commit 790b678

Please sign in to comment.