File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 11FROM php:7.2-fpm
22
33
4-
54RUN set -xe; \
65 echo "PS1='\u @\h :\w\$ '" >> ~/.bashrc && \
76 echo "" >> ~/.bashrc && \
@@ -37,6 +36,22 @@ RUN set -xe; \
3736 docker-php-ext-enable xdebug
3837
3938
39+ # install phalcon
40+ ARG PHALCON_VERSION=3.4.4
41+ ARG PHALCON_EXT_PATH=php7/64bits
42+
43+ RUN set -xe && \
44+ # Compile Phalcon
45+ curl -LO https://github.com/phalcon/cphalcon/archive/v${PHALCON_VERSION}.tar.gz && \
46+ tar xzf ${PWD}/v${PHALCON_VERSION}.tar.gz && \
47+ docker-php-ext-install -j $(getconf _NPROCESSORS_ONLN) ${PWD}/cphalcon-${PHALCON_VERSION}/build/${PHALCON_EXT_PATH} && \
48+ # Remove all temp files
49+ rm -r \
50+ ${PWD}/v${PHALCON_VERSION}.tar.gz \
51+ ${PWD}/cphalcon-${PHALCON_VERSION}
52+
53+
54+
4055# install zip extensions
4156# ps. next lines are here becase there is no auto build on docker
4257RUN apt-get install -y --no-install-recommends \
Original file line number Diff line number Diff line change 11{
22 "require" : {
3- "hirak/prestissimo" : " ^0.3.5"
3+ "hirak/prestissimo" : " ^0.3.5" ,
4+ "phalcon/devtools" : " ~3.4"
45 }
56}
You can’t perform that action at this time.
0 commit comments