Giter Club home page Giter Club logo

Comments (2)

skyred avatar skyred commented on August 24, 2024

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.

iBobik avatar iBobik commented on August 24, 2024

Thanks, I managed it already.

Jan Pobořil
http://honza.poboril.cz/

    1. 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/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


Reply to this email directly or view it on GitHub.

from drupal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.