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
1f22e86d
Commit
1f22e86d
authored
Mar 26, 2019
by
Yu Li
Committed by
Shao Yu-Lung (Allen)
Mar 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
workspace add inotify and fswatch (#2059)
parent
c8b526be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
env-example
env-example
+2
-0
Dockerfile
workspace/Dockerfile
+25
-0
No files found.
env-example
View file @
1f22e86d
...
...
@@ -131,6 +131,8 @@ WORKSPACE_INSTALL_SWOOLE=false
WORKSPACE_INSTALL_LIBPNG=false
WORKSPACE_INSTALL_IONCUBE=false
WORKSPACE_INSTALL_MYSQL_CLIENT=false
WORKSPACE_INSTALL_INOTIFY=false
WORKSPACE_INSTALL_FSWATCH=false
WORKSPACE_PUID=1000
WORKSPACE_PGID=1000
WORKSPACE_CHROME_DRIVER_VERSION=2.42
...
...
workspace/Dockerfile
View file @
1f22e86d
...
...
@@ -446,6 +446,31 @@ RUN if [ ${INSTALL_LIBPNG} = true ]; then \
apt-get
install
libpng16-16
\
;
fi
###########################################################################
# Inotify EXTENSION:
###########################################################################
ARG
INSTALL_INOTIFY=false
RUN if
[
${
INSTALL_INOTIFY
}
=
true
]
;
then
\
pecl
-q
install
inotify
&&
\
echo
"extension=inotify.so"
>>
/etc/php/
${
LARADOCK_PHP_VERSION
}
/mods-available/inotify.ini
&&
\
ln
-s
/etc/php/
${
LARADOCK_PHP_VERSION
}
/mods-available/inotify.ini /etc/php/
${
LARADOCK_PHP_VERSION
}
/cli/conf.d/20-inotify.ini
\
;
fi
###########################################################################
# fswatch
###########################################################################
ARG
INSTALL_FSWATCH=false
RUN if
[
${
INSTALL_FSWATCH
}
=
true
]
;
then
\
apt-key adv
--keyserver
keyserver.ubuntu.com
--recv-keys
47FE03C1
\
&&
add-apt-repository
-y
ppa:hadret/fswatch
\
||
apt-get update
-yqq
\
&&
apt-get
-y
install
fswatch
\
;
fi
###########################################################################
# IonCube Loader
###########################################################################
...
...
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