File tree Expand file tree Collapse file tree 4 files changed +31
-5
lines changed Expand file tree Collapse file tree 4 files changed +31
-5
lines changed Original file line number Diff line number Diff line change @@ -5,25 +5,40 @@ RUN echo deb http://dl.hhvm.com/debian jessie main | tee /etc/apt/sources.list.d
5
5
6
6
RUN apt-get clean && \
7
7
apt-get update && \
8
- apt-get install -y hhvm \
9
- libfreetype6-dev \
8
+ apt-get install -y libfreetype6-dev \
10
9
libjpeg62-turbo-dev \
11
10
libmcrypt-dev \
12
11
libpng12-dev \
13
12
libxml2-dev \
14
13
libsasl2-dev \
15
14
libbz2-dev \
16
- build-essential \
15
+ libedit2 \
16
+ libsqlite3-0 \
17
+ libxml2 \
18
+ autoconf \
19
+ file \
20
+ g++ \
21
+ gcc \
22
+ libc-dev \
23
+ make \
24
+ pkg-config \
25
+ re2c \
26
+ curl \
17
27
wget \
28
+ build-essential \
18
29
git \
19
30
gettext \
31
+ hhvm \
20
32
mysql-client libmysqlclient-dev \
21
33
postgresql-client libpq-dev \
22
34
sqlite3 libsqlite3-dev
23
35
24
36
COPY php.ini /etc/hhvm/php.ini
25
37
RUN chmod +x /etc/hhvm/php.ini
26
38
39
+ COPY server.ini /etc/hhvm/server.ini
40
+ RUN chmod +x /etc/hhvm/server.ini
41
+
27
42
# composer
28
43
RUN curl -sS https://getcomposer.org/installer | php
29
44
RUN mv composer.phar /usr/bin/composer
Original file line number Diff line number Diff line change 13
13
memcached :
14
14
image : memcached
15
15
php :
16
- image : rtancman/docker-symfony:php-7
16
+ image : symfonyhhvm
17
17
volumes :
18
18
- ./app:/var/www/html/dev
19
+ - ./server.ini:/etc/hhvm/server.ini
19
20
- ./phpfpm-foreground:/usr/local/bin/phpfpm-foreground
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
- exec hhvm -a
4
+ exec hhvm -m server -d hhvm.server.type=fastcgi -d hhvm.server.port=9000
Original file line number Diff line number Diff line change
1
+ hhvm.server.port = 9000
2
+ hhvm.server.type = fastcgi
3
+ hhvm.server.default_document = index.php
4
+ hhvm.log.use_log_file = true
5
+ hhvm.log.file = /proc/self/fd/2
6
+ hhvm.log.level = Warning
7
+ hhvm.log.always_log_unhandled_exceptions = true
8
+ hhvm.log.runtime_error_reporting_level = 8191
9
+ hhvm.mysql.typed_results = false
10
+ hhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc
You can’t perform that action at this time.
0 commit comments