Created
February 20, 2015 16:28
-
-
Save ivoba/0da6ec1929dcf46c7cc5 to your computer and use it in GitHub Desktop.
php5.5 with pimple c extension
This file contains 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 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