Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion Dockerfiles/php-fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM php:7.2-fpm



RUN set -xe; \
echo "PS1='\u@\h:\w\$ '" >> ~/.bashrc && \
echo "" >> ~/.bashrc && \
Expand Down Expand Up @@ -38,6 +37,22 @@ RUN set -xe; \
docker-php-ext-enable xdebug


# install phalcon
ARG PHALCON_VERSION=3.4.4
ARG PHALCON_EXT_PATH=php7/64bits

RUN set -xe && \
# Compile Phalcon
curl -LO https://github.com/phalcon/cphalcon/archive/v${PHALCON_VERSION}.tar.gz && \
tar xzf ${PWD}/v${PHALCON_VERSION}.tar.gz && \
docker-php-ext-install -j $(getconf _NPROCESSORS_ONLN) ${PWD}/cphalcon-${PHALCON_VERSION}/build/${PHALCON_EXT_PATH} && \
# Remove all temp files
rm -r \
${PWD}/v${PHALCON_VERSION}.tar.gz \
${PWD}/cphalcon-${PHALCON_VERSION}



# install zip extensions
# ps. next lines are here becase there is no auto build on docker
RUN apt-get install -y --no-install-recommends \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfiles/workspace/composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"require": {
"hirak/prestissimo": "^0.3.5"
"hirak/prestissimo": "^0.3.5",
"phalcon/devtools": "~3.4"
}
}