anchor.diff:  EXPOSE 80
   
   COPY shiny-server.sh /usr/bin/shiny-server.sh
  -
   RUN chmod +x /usr/bin/shiny-server.sh
   
   CMD ["/usr/bin/shiny-server.sh"]
  
positive.code: FROM r-base
  
  MAINTAINER Jeffrey O Hanson "jeffrey.hanson@uqconnect.edu.au"
  
  RUN apt-get update && apt-get install -y --allow-downgrades \
  	sudo \
  
negative.code: 	gdebi -n ss-latest.deb && \
  	rm -f version.txt ss-latest.deb
   
  RUN R -e "install.packages(c('ghit', 'rgdal', 'shiny', 'rgeos', 'Hmisc', 'RColorBrewer', 'fortunes', 'shinyBS', 'RJSONIO', 'gridExtra', 'RCurl'), repos='https://cran.rstudio.com/')"
  
  RUN R -e  "ghit::install_github('jeffreyhanson/leaflet-shiny')"
  
  COPY shiny-server.conf /etc/shiny-server/shiny-server.conf
  
  RUN cp -R app/* /srv/shiny-server
  
  RUN mkdir -p /var/log/shiny-server
  
  