Comments (2)
As the doc says https://github.com/docker-library/docs/tree/master/drupal#adding-additional-libraries--extensions
This image is trying to maintain the very minimal. But, you can include Drush in your image based on this, all you need to do is below:
FROM drupal:8.0
# install Composer globally
RUN curl -sS https://getcomposer.org/installer | php \
&& mv composer.phar /usr/local/bin/composer
# install Drush 8.x
RUN composer global require drush/drush:dev-master \
&& echo "export PATH=\"$HOME/.composer/vendor/bin:$PATH\"" > ~/.bashrc
Here is another example that I added Drupal Console for Drupal Commerce 2.x image https://github.com/INsReady/docker-drupal-commerce/blob/master/8/Dockerfile
from drupal.
Thanks, I managed it already.
Jan Pobořil
http://honza.poboril.cz/
-
- 2015 v 6:46, Jingsheng Wang [email protected]:
As the doc says https://github.com/docker-library/docs/tree/master/drupal#adding-additional-libraries--extensions
This image is trying to maintain the very minimal. But, you can include Drush in your image based on this, all you need to do is below:
FROM drupal:8.0
install Composer globally
RUN curl -sS https://getcomposer.org/installer | php
&& mv composer.phar /usr/local/bin/composerinstall Drush 8.x
RUN composer global require drush/drush:dev-master
&& echo "export PATH="$HOME/.composer/vendor/bin:$PATH"" > ~/.bashrc
Here is another example that I added Drupal Console for Drupal Commerce 2.x image https://github.com/INsReady/docker-drupal-commerce/blob/master/8/Dockerfile—
Reply to this email directly or view it on GitHub.
from drupal.
Related Issues (20)
- add example for how to install modules HOT 3
- drupal:9.4-php8.1-apache-buster comes with apache version Apache/2.4.38 (Debian) which has Security issue. HOT 5
- Add Drupal 9.5 (and remove 9.3)
- Add Drupal 10.0.0 HOT 1
- Remove opcache.fast_shutdown from PHP settings section HOT 2
- "Failed to get available update data" in Drupal 7.94 HOT 3
- Inquiry for apache compile option HOT 1
- Docker compose volumes not working. HOT 3
- Set the default php.ini (prod or dev) HOT 6
- New docker latest:php8.2-fpm-* images not functional HOT 1
- Add php8.3 [Postponed]
- 10.2.0 released
- Missing ini memory_limit and output_buffering HOT 3
- Drupal Pod is crashing when we enable Readonly file system as True without error HOT 3
- Drupal Pod is crashing when we enable Readonly file system as True without error HOT 3
- Critical and high severity fixes from drupal:latest tag HOT 2
- The bad situation with bind volumes HOT 19
- Installation error drupal 11 with sqlite HOT 9
- Drupal 11 requires PHP 8.3 (remove PHP 8.2 variant) HOT 2
- Could you provide a docker-compose file for drupal 11 with mysql? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drupal.