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.
* bump to 4.0.1 and add a few reqs
- Loading branch information
Showing
5 changed files
with
24 additions
and
17 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
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,4 +1,4 @@ | ||
FROM rocker/verse:3.6.2 | ||
FROM rocker/verse:4.0.1 | ||
MAINTAINER [email protected] | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y --no-install-recommends && \ | ||
|
@@ -12,28 +12,24 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -y --no-install-recommends && | |
libsodium-dev \ | ||
libx11-dev \ | ||
mesa-common-dev \ | ||
python3-pip \ | ||
python3-setuptools \ | ||
wget && \ | ||
apt-get clean -y && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
# tuck the python client here just in case | ||
COPY ./requirements-python.txt /requirements-python.txt | ||
RUN curl -s https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ | ||
python get-pip.py && \ | ||
pip install -r requirements-python.txt && \ | ||
rm -rf ~/.cache/pip && \ | ||
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 pip3 install -r requirements-python.txt && \ | ||
rm -rf ~/.cache/pip | ||
|
||
COPY ./requirements.txt /requirements.txt | ||
RUN Rscript -e 'install.packages(readLines("requirements.txt"))' | ||
|
||
RUN Rscript -e 'install.packages("civis")' && \ | ||
RUN Rscript -e 'install.packages("civis", repos="https://cran.rstudio.com")' && \ | ||
Rscript -e "library(civis)" | ||
|
||
ENV VERSION=3.3.0 \ | ||
VERSION_MAJOR=3 \ | ||
VERSION_MINOR=3 \ | ||
ENV VERSION=4.0.0 \ | ||
VERSION_MAJOR=4 \ | ||
VERSION_MINOR=0 \ | ||
VERSION_MICRO=0 |
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,3 +1,3 @@ | ||
civis==1.11.0 | ||
pubnub==4.0.12 | ||
joblib==0.11 | ||
cbor2==4.1.2 | ||
pubnub>=4.5 | ||
civis |
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