Skip to content

Commit

Permalink
Merge pull request #1 from KHwong12/KHwong12-patch-1
Browse files Browse the repository at this point in the history
Use latest pandoc version
  • Loading branch information
mdneuzerling authored Feb 7, 2022
2 parents 54e05ac + 6d094ed commit 0f304d6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.n
ENV PATH="${PATH}:/opt/R/${R_VERSION}/bin/"

# System requirements for R packages
RUN yum -y install openssl-devel libicu-devel epel-release pandoc
RUN yum -y install openssl-devel libicu-devel epel-release

ENV PANDOC_VERSION=2.16.2

RUN wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz
RUN tar xvzf pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz --strip-components 1 -C /usr/local
RUN rm -rf pandoc-${PANDOC_VERSION}*

RUN Rscript -e "install.packages(c('httr', 'jsonlite', 'logger', 'remotes', 'rmarkdown', 'dplyr', 'ggplot2'), repos = 'https://packagemanager.rstudio.com/all/__linux__/centos7/latest')"
RUN Rscript -e "remotes::install_github('mdneuzerling/lambdr')"
Expand Down

0 comments on commit 0f304d6

Please sign in to comment.