Skip to content

Commit

Permalink
Corrected code for install and removed dependency code
Browse files Browse the repository at this point in the history
  • Loading branch information
Lextuga007 committed Jun 17, 2024
1 parent 382b8e3 commit 8e7b45f
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,11 @@ RUN wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.4.550/qua
&& DEBIAN_FRONTEND=noninteractive apt install ./quarto-*-linux-amd64.deb \
&& rm quarto-*-linux-amd64.deb

RUN apt-get update && \
apt-get install -y libcurl4-openssl-dev \
libssl-dev \
libjq-dev \
libprotobuf-dev \
protobuf-compiler \
make \
libgeos-dev \
libudunits2-dev \
libgdal-dev \
gdal-bin \
libproj-dev \
libv8-dev
RUN R -e "remotes::install_github('r-spatial/sf')"
RUN R -e "install.packages('udunits2')"

RUN apt-get clean \
&& 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")'

CMD ["bash"]

0 comments on commit 8e7b45f

Please sign in to comment.