Skip to content

Instantly share code, notes, and snippets.

@ivoba
Created February 20, 2015 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivoba/0da6ec1929dcf46c7cc5 to your computer and use it in GitHub Desktop.
Save ivoba/0da6ec1929dcf46c7cc5 to your computer and use it in GitHub Desktop.
php5.5 with pimple c extension
FROM ubuntu:14.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \
php5-dev \
php5-cli \
php5-fpm \
php5-json \
php5-intl \
wget \
unzip \
&& wget https://github.com/silexphp/Pimple/archive/v3.0.0.zip \
&& unzip v3.0.0.zip \
&& cd Pimple-3.0.0/ext/pimple \
&& phpize \
&& ./configure \
&& make \
&& make install \
&& echo "extension=pimple.so" > /etc/php5/fpm/conf.d/05-pimple.ini
#https://github.com/silexphp/Pimple/archive/v3.0.0.zip
# pimple c extension, curl?
ADD start.sh /start.sh
ADD environment.sh /etc/profile.d/environment.sh
EXPOSE 9000
WORKDIR /var/www
ENTRYPOINT ["/start.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment