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
c44338e3
Commit
c44338e3
authored
Jan 09, 2018
by
x
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
workspace container adds swoole
parent
7fc3a9cb
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
0 deletions
+38
-0
docker-compose.yml
docker-compose.yml
+1
-0
env-example
env-example
+1
-0
Dockerfile-56
workspace/Dockerfile-56
+12
-0
Dockerfile-70
workspace/Dockerfile-70
+12
-0
Dockerfile-71
workspace/Dockerfile-71
+12
-0
No files found.
docker-compose.yml
View file @
c44338e3
...
...
@@ -41,6 +41,7 @@ services:
-
INSTALL_TERRAFORM=${WORKSPACE_INSTALL_TERRAFORM}
-
INSTALL_DUSK_DEPS=${WORKSPACE_INSTALL_DUSK_DEPS}
-
INSTALL_PG_CLIENT=${WORKSPACE_INSTALL_PG_CLIENT}
-
INSTALL_SWOOLE=${WORKSPACE_INSTALL_SWOOLE}
-
PUID=${WORKSPACE_PUID}
-
PGID=${WORKSPACE_PGID}
-
CHROME_DRIVER_VERSION=${WORKSPACE_CHROME_DRIVER_VERSION}
...
...
env-example
View file @
c44338e3
...
...
@@ -85,6 +85,7 @@ WORKSPACE_INSTALL_IMAGEMAGICK=false
WORKSPACE_INSTALL_TERRAFORM=false
WORKSPACE_INSTALL_DUSK_DEPS=false
WORKSPACE_INSTALL_PG_CLIENT=false
WORKSPACE_INSTALL_SWOOLE=false
WORKSPACE_PUID=1000
WORKSPACE_PGID=1000
WORKSPACE_CHROME_DRIVER_VERSION=2.32
...
...
workspace/Dockerfile-56
View file @
c44338e3
...
...
@@ -239,6 +239,18 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
phpenmod redis \
;fi
#####################################
# Swoole EXTENSION FOR PHP 5.6
#####################################
ARG INSTALL_SWOOLE=false
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
# Install Php Swoole Extension
pecl -q install swoole && \
echo "extension=swoole.so" >> /etc/php/5.6/mods-available/swoole.ini && \
ln -s /etc/php/5.6/mods-available/swoole.ini /etc/php/5.6/cli/conf.d/20-swoole.ini \
;fi
#####################################
# Drush:
#####################################
...
...
workspace/Dockerfile-70
View file @
c44338e3
...
...
@@ -235,6 +235,18 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
phpenmod redis \
;fi
#####################################
# Swoole EXTENSION FOR PHP 7
#####################################
ARG INSTALL_SWOOLE=false
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
# Install Php Swoole Extension
pecl -q install swoole && \
echo "extension=swoole.so" >> /etc/php/7.0/mods-available/swoole.ini && \
ln -s /etc/php/7.0/mods-available/swoole.ini /etc/php/7.0/cli/conf.d/20-swoole.ini \
;fi
#####################################
# Drush:
#####################################
...
...
workspace/Dockerfile-71
View file @
c44338e3
...
...
@@ -231,6 +231,18 @@ RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
phpenmod redis \
;fi
#####################################
# Swoole EXTENSION FOR PHP 7
#####################################
ARG INSTALL_SWOOLE=false
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
# Install Php Swoole Extension
pecl -q install swoole && \
echo "extension=swoole.so" >> /etc/php/7.1/mods-available/swoole.ini && \
ln -s /etc/php/7.1/mods-available/swoole.ini /etc/php/7.1/cli/conf.d/20-swoole.ini \
;fi
#####################################
# Drush:
#####################################
...
...
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