Skip to content

Instantly share code, notes, and snippets.

@tlovett1
Created March 19, 2015 04:28
Show Gist options
  • Save tlovett1/6c4110124a9ef9654163 to your computer and use it in GitHub Desktop.
Save tlovett1/6c4110124a9ef9654163 to your computer and use it in GitHub Desktop.
Moonshine Dockerfile
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