Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
f82d3b30
Commit
f82d3b30
authored
Dec 14, 2016
by
Philippe Trépanier
Committed by
GitHub
Dec 14, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #483 from edmundluong/master
Add option to install Google V8 Javascript Engine PHP extension
parents
99fb1b41
8bacb129
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
docker-compose.yml
docker-compose.yml
+1
-0
Dockerfile
workspace/Dockerfile
+17
-0
No files found.
docker-compose.yml
View file @
f82d3b30
...
@@ -22,6 +22,7 @@ services:
...
@@ -22,6 +22,7 @@ services:
-
INSTALL_YARN=false
-
INSTALL_YARN=false
-
INSTALL_DRUSH=false
-
INSTALL_DRUSH=false
-
INSTALL_AEROSPIKE_EXTENSION=false
-
INSTALL_AEROSPIKE_EXTENSION=false
-
INSTALL_V8JS_EXTENSION=false
-
COMPOSER_GLOBAL_INSTALL=false
-
COMPOSER_GLOBAL_INSTALL=false
-
INSTALL_WORKSPACE_SSH=false
-
INSTALL_WORKSPACE_SSH=false
-
PUID=1000
-
PUID=1000
...
...
workspace/Dockerfile
View file @
f82d3b30
...
@@ -235,6 +235,23 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = false ]; then \
...
@@ -235,6 +235,23 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = false ]; then \
rm
/etc/php/7.0/cli/conf.d/aerospike.ini
\
rm
/etc/php/7.0/cli/conf.d/aerospike.ini
\
;
fi
;
fi
#####################################
# PHP V8JS:
#####################################
USER
root
ARG
INSTALL_V8JS_EXTENSION=false
ENV
INSTALL_V8JS_EXTENSION ${INSTALL_V8JS_EXTENSION}
RUN if
[
${
INSTALL_V8JS_EXTENSION
}
=
true
]
;
then
\
# Install the php V8JS extension
add-apt-repository -y ppa:pinepain/libv8-5.4 \
&& apt-get update \
&& apt-get install -y php-dev php-pear libv8-5.4 \
&& pecl install v8js \
&& echo "extension=v8js.so" >> /etc/php/7.0/cli/php.ini \
;fi
#####################################
#####################################
# Non-root user : PHPUnit path
# Non-root user : PHPUnit path
#####################################
#####################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment