Created
March 19, 2015 04:28
-
-
Save tlovett1/6c4110124a9ef9654163 to your computer and use it in GitHub Desktop.
Moonshine 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
FROM debian:wheezy | |
# CMD [php] - Not sure how this container is used so not sure if this is necessary | |
EXPOSE 9000 | |
WORKDIR /var/www/html | |
RUN apt-get update && apt-get -y install \ | |
wget \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN echo "deb http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list | |
RUN echo "deb-src http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list | |
RUN wget http://www.dotdeb.org/dotdeb.gpg -O- |apt-key add - | |
RUN apt-get update && apt-get -y install \ | |
php-pear \ | |
php5-mysql | |
RUN pecl install redis | |
RUN pecl install memcache | |
RUN apt-get -y install \ | |
php5-fpm \ | |
&& rm -rf /var/lib/apt/lists/* | |
MAINTAINER Taylor Lovett |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment