forked from noname007/script
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphp7.0.DockerFile
More file actions
28 lines (16 loc) · 802 Bytes
/
php7.0.DockerFile
File metadata and controls
28 lines (16 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM soul11201/ubuntu
MAINTAINER soul11201 "soul11201@gmail.com"
RUN apt-get install -y software-properties-common python3-software-properties python-software-properties
RUN apt-add-repository -y ppa:ondrej/php
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C
RUN apt-get update
RUN apt-get install -y php7.0 gcc make php7.0-dev
RUN apt-get install -y php7.0-gd php7.0-json php7.0-curl
RUN apt-get install -y git
RUN git clone git://github.com/phalcon/cphalcon.git cphalcon && cd cphalcon/build && sudo ./install && cd .. && rm -rf cphalcon
RUN echo 'extension=phalcon.so' > /etc/php/7.0/cli/conf.d/30-phalcon.ini
RUN apt-get install -y php7.0-xdebug
ADD php.ini /etc/php/7.0/cli/php.ini
EXPOSE 80
EXPOSE 9000
RUN apt-get install -y php7.0-redis php7.0-mysql