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
848398d4
Commit
848398d4
authored
May 12, 2017
by
Shao Yu Lung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
php-fpm service LDAP support
parent
ac895209
Changes
5
Hide 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
php-fpm/Dockerfile-56
+12
-0
Dockerfile-70
php-fpm/Dockerfile-70
+12
-0
Dockerfile-71
php-fpm/Dockerfile-71
+12
-0
No files found.
docker-compose.yml
View file @
848398d4
...
...
@@ -72,6 +72,7 @@ services:
-
INSTALL_TOKENIZER=${PHP_FPM_INSTALL_TOKENIZER}
-
INSTALL_INTL=${PHP_FPM_INSTALL_INTL}
-
INSTALL_GHOSTSCRIPT=${PHP_FPM_INSTALL_GHOSTSCRIPT}
-
INSTALL_LDAP=${PHP_FPM_INSTALL_LDAP}
dockerfile
:
"
Dockerfile-${PHP_VERSION}"
volumes_from
:
-
applications
...
...
env-example
View file @
848398d4
...
...
@@ -68,6 +68,7 @@ PHP_FPM_INSTALL_MYSQLI=false
PHP_FPM_INSTALL_TOKENIZER=false
PHP_FPM_INSTALL_INTL=false
PHP_FPM_INSTALL_GHOSTSCRIPT=false
PHP_FPM_INSTALL_LDAP=false
PHP_FPM_INSTALL_SWOOLE=false
### NGINX ##############################################################################################################
...
...
php-fpm/Dockerfile-56
View file @
848398d4
...
...
@@ -234,6 +234,18 @@ RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
apt-get install -y poppler-utils ghostscript \
;fi
#####################################
# LDAP:
#####################################
ARG INSTALL_LDAP=false
RUN if [ ${INSTALL_LDAP} = true ]; then \
apt-get update -yqq && \
apt-get install -y libldap2-dev && \
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
docker-php-ext-install ldap \
;fi
#
#--------------------------------------------------------------------------
# Final Touch
...
...
php-fpm/Dockerfile-70
View file @
848398d4
...
...
@@ -243,6 +243,18 @@ RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
ghostscript \
;fi
#####################################
# LDAP:
#####################################
ARG INSTALL_LDAP=false
RUN if [ ${INSTALL_LDAP} = true ]; then \
apt-get update -yqq && \
apt-get install -y libldap2-dev && \
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
docker-php-ext-install ldap \
;fi
#####################################
# SQL SERVER:
#####################################
...
...
php-fpm/Dockerfile-71
View file @
848398d4
...
...
@@ -252,6 +252,18 @@ RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
ghostscript \
;fi
#####################################
# LDAP:
#####################################
ARG INSTALL_LDAP=false
RUN if [ ${INSTALL_LDAP} = true ]; then \
apt-get update -yqq && \
apt-get install -y libldap2-dev && \
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
docker-php-ext-install ldap \
;fi
#####################################
# SQL SERVER:
#####################################
...
...
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