Want to create an image that
FROM bioconductor/release_microarray:latest
MAINTAINER Peter Humburg <peter.humburg@gmail.com>
apt-get
or through other channels.RUN apt-get update -y && apt-get install -y haskell-platform nginx \
lmodern texlive-full libssh-dev
RUN cabal update && cabal install pandoc
RUN cd /tmp && wget -q https://www.cog-genomics.org/static/bin/plink150507/plink_linux_x86_64.zip && unzip plink_linux_x86_64.zip && cp plink /usr/local/bin/
RUN Rscript -e "biocLite(c('dplyr', 'tidyr', 'devtools', \
'illuminaHumanv3.db', 'pander', 'ggdendro'))"
RUN Rscript -e "devtools::install_github('hadley/readr')"
Add data and code to the image
COPY data/ /analysis/data/
COPY heatshock_analysis.* default.pandoc /analysis/
[program:analysis]
command=/usr/bin/Rscript /analysis/analysis.r
autostart=true
autorestart=false
stdout_logfile=/analysis/log/%(program_name)s.log
stderr_logfile=/analysis/log/%(program_name)s.log
COPY config/supervisored.conf /tmp/
RUN cat /tmp/supervisored.conf >> /etc/supervisor/conf.d/supervisord.conf
docker run -v /path/to/project/analysis/cache/:/analysis/cache/ \
-p 9999:80 -p 8787:8787 analysis
http://<docker.host.address>:9999
http://<docker.host.address>:8787
.