forked from civisanalytics/datascience-r
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3.3.0] 3.3.0 release (civisanalytics#44)
* dev 3.3.0 release Co-authored-by: Patrick Miller <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
FROM rocker/verse:3.6.1 | ||
FROM rocker/verse:3.6.2 | ||
MAINTAINER [email protected] | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y --no-install-recommends && \ | ||
apt-get install -y --no-install-recommends \ | ||
curl \ | ||
libudunits2-dev \ | ||
libcairo-dev \ | ||
libgdal-dev \ | ||
libgdal-dev \ | ||
libgeos-dev \ | ||
libglu1-mesa-dev \ | ||
libsodium-dev \ | ||
libx11-dev \ | ||
mesa-common-dev \ | ||
mesa-common-dev \ | ||
wget && \ | ||
apt-get clean -y && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
@@ -24,16 +25,15 @@ RUN curl -s https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ | |
rm -f get-pip.py | ||
|
||
# set cran to be default backup to set MRAN repo | ||
#RUN echo "options(repos = c(options('repos'), 'https://cran.rstudio.com/'), download.file.method = 'libcurl')" >> /usr/local/lib/R/etc/Rprofile.site | ||
|
||
RUN Rscript -e "devtools::install_github('civisanalytics/civis-r', ref = 'v2.1.2');" | ||
# RUN echo "options(repos = c(options('repos'), 'https://cran.rstudio.com/'), download.file.method = 'libcurl')" >> /usr/local/lib/R/etc/Rprofile.site | ||
|
||
COPY ./requirements.txt /requirements.txt | ||
RUN Rscript -e 'install.packages(readLines("requirements.txt"))' | ||
|
||
RUN Rscript -e "library(civis)" | ||
RUN Rscript -e 'install.packages("civis")' && \ | ||
Rscript -e "library(civis)" | ||
|
||
ENV VERSION=3.2.1 \ | ||
ENV VERSION=3.3.0 \ | ||
VERSION_MAJOR=3 \ | ||
VERSION_MINOR=2 \ | ||
VERSION_MICRO=1 | ||
VERSION_MINOR=3 \ | ||
VERSION_MICRO=0 |