Last active
October 3, 2019 20:19
-
-
Save zappingseb/6d65f7d27ce85185c785613f83a8036f to your computer and use it in GitHub Desktop.
DockerFile for Mt Whitney crawl
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
# alpine-python-ecmwfapi | |
FROM rocker/tidyverse:3.6.0 | |
MAINTAINER zappingseb "sebastian@mail-wolf.de" | |
RUN R -e "install.packages(c('RSelenium'), repos='https://cran.rstudio.com/') " | |
RUN apt-get update -qq \ | |
&& apt-get install -y \ | |
python-pip \ | |
vim | |
RUN pip install pytest-shutil | |
RUN pip install --upgrade numpy secure-smtplib email | |
COPY run_tests.R /tmp/run_tests.R | |
COPY sendmail.py /tmp/sendmail.py | |
RUN apt-get update && apt-get -y install cron | |
RUN echo "0 */12 * * * root Rscript /tmp/run_tests.R" >> /etc/crontab | |
RUN service cron start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment