-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
33 lines (29 loc) · 1.06 KB
/
Dockerfile
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
29
30
31
32
33
FROM circleci/php:5.6-node-browsers
# Install php5-v8js
RUN sudo apt-get update && \
sudo apt-get install -y \
libv8-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libcurl4-openssl-dev \
libsqlite3-dev \
libmcrypt-dev
RUN sudo docker-php-ext-install mcrypt
RUN sudo docker-php-ext-install gd
RUN sudo docker-php-ext-install curl
RUN sudo docker-php-ext-install calendar
RUN sudo docker-php-ext-install zip
RUN sudo docker-php-ext-install iconv
RUN sudo docker-php-ext-install json
RUN sudo docker-php-ext-install mysqli
RUN sudo docker-php-ext-install mysql
RUN sudo docker-php-ext-install pdo
RUN sudo docker-php-ext-install pdo_sqlite
RUN sudo docker-php-ext-install pdo_mysql
RUN printf "\n" | sudo CFLAGS=-w CPPFLAGS=-w pecl install v8js-0.1.3
RUN echo "extension = v8js.so" | sudo tee -a /usr/local/etc/php/php.ini
# Set Timezone
RUN echo "Europe/Berlin" | sudo tee /etc/timezone
RUN echo "date.timezone = \"Europe/Berlin\"" | sudo tee -a /usr/local/etc/php/php.ini
# Install grunt
RUN sudo npm i -g grunt-cli