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
95ef5e1e
Commit
95ef5e1e
authored
Aug 16, 2016
by
Tim Bracken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Drush and Opcache to laradock because they are needed for drupal development.
parent
c324114b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
0 deletions
+26
-0
Dockerfile-56
php-fpm/Dockerfile-56
+6
-0
Dockerfile-70
php-fpm/Dockerfile-70
+6
-0
Dockerfile
workspace/Dockerfile
+14
-0
No files found.
php-fpm/Dockerfile-56
View file @
95ef5e1e
...
@@ -89,6 +89,12 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
...
@@ -89,6 +89,12 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
docker-php-ext-enable memcached \
docker-php-ext-enable memcached \
;fi
;fi
#####################################
# Opcache:
#####################################
RUN docker-php-ext-install opcache
RUN docker-php-ext-enable opcache
#
#
#--------------------------------------------------------------------------
#--------------------------------------------------------------------------
...
...
php-fpm/Dockerfile-70
View file @
95ef5e1e
...
@@ -100,6 +100,12 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
...
@@ -100,6 +100,12 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
&& docker-php-ext-enable memcached \
&& docker-php-ext-enable memcached \
;fi
;fi
#####################################
# Opcache:
#####################################
RUN docker-php-ext-install opcache
RUN docker-php-ext-enable opcache
#
#
#--------------------------------------------------------------------------
#--------------------------------------------------------------------------
...
...
workspace/Dockerfile
View file @
95ef5e1e
...
@@ -97,6 +97,20 @@ RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
...
@@ -97,6 +97,20 @@ RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
composer global install \
composer global install \
;fi
;fi
#####################################
# Drush:
#####################################
ENV
DRUSH_VERSION 8.1.2
# Install Drush 8 with the phar file.
USER
root
RUN
curl
-fsSL
-o
/usr/local/bin/drush
"https://github.com/drush-ops/drush/releases/download/
$DRUSH_VERSION
/drush.phar"
&&
\
chmod
+x /usr/local/bin/drush
#Check if drush works for the laradock user
USER
laradock
RUN
drush core-status
#####################################
#####################################
# Node / NVM:
# Node / NVM:
#####################################
#####################################
...
...
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