Created
          October 5, 2013 14:26 
        
      - 
      
- 
        Save taion809/6841554 to your computer and use it in GitHub Desktop. 
    Piecrust Dockerfile
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | # The purpose of this Dockerfile is to serve as the base for a static website, in this case redstalker.com | |
| # There are better ways to do this | |
| # For example, using a volume and only running the redstalker.com Dockerfile in the case of update. | |
| FROM johnsn/rs-nginx | |
| MAINTAINER Nicholas Johns "[email protected]" | |
| # Force updating ubuntu | |
| RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list | |
| RUN apt-get update; apt-get upgrade -y; apt-get install -y wget python-software-properties | |
| #Add PPA | |
| RUN add-apt-repository ppa:ondrej/php5 | |
| RUN wget -qO - http://nginx.org/keys/nginx_signing.key | apt-key add - | |
| RUN apt-get update; apt-get install -y php5-cli | |
| RUN perl -pi -e "s#;date.timezone =#date.timezone = Asia/Tokyo#g" /etc/php5/cli/php.ini | |
| # Download piecrust | |
| RUN wget http://backend.bolt80.com/piecrust/install -O - | php -- - | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment