Skip to content

Commit

Permalink
Reverted to DukeStatScie to help with getting sf package to install
Browse files Browse the repository at this point in the history
  • Loading branch information
Lextuga007 committed Jun 17, 2024
1 parent 07b456b commit 1d6cf20
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
FROM rocker/r2u
FROM rocker/r-ubuntu:22.04

ADD Rprofile.site /usr/lib/R/etc/Rprofile.site

RUN apt-get update \
&& apt-get upgrade -y
RUN apt-get install -y --no-install-recommends \
libudunits2-dev libgdal-dev libgeos-dev \
libproj-dev pandoc libmagick++-dev \
libglpk-dev libnode-dev \
wget git rsync \
&& sed 's/value="1GiB"/value="8GiB"/1' /etc/ImageMagick-6/policy.xml > /etc/ImageMagick-6/policy.xml

RUN wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.4.550/quarto-1.4.550-linux-amd64.deb \
&& DEBIAN_FRONTEND=noninteractive apt install ./quarto-*-linux-amd64.deb \
&& rm quarto-*-linux-amd64.deb

RUN apt-get update && \
apt-get install -y libproj22 libudunits2.so.0 libgdal30 && \
rm -rf /var/lib/apt/lists/*

RUN R -q -e 'install.packages("remotes"); remotes::install_github("rundel/checklist")'
RUN R -q -e 'install.packages("remotes"); remotes::install_github("r-spatial/sf")'
RUN install.r devtools rmarkdown quarto tidyverse \
&& installGithub.r rundel/checklist

RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 1d6cf20

Please sign in to comment.