-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Added composer.json similar to goalgorilla/drupal_social#362 2. Extends image from Drupal 9.1 3. Changed the way composer install command runs.
- Loading branch information
1 parent
35dcf78
commit afe6c69
Showing
3 changed files
with
62 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM drupal:8.9 | ||
FROM drupal:9.1 | ||
MAINTAINER [email protected] | ||
|
||
# Install packages. | ||
|
@@ -32,7 +32,7 @@ RUN rm -rf /root/.composer | |
ADD composer.json /var/www/composer.json | ||
WORKDIR /var/www/ | ||
ENV COMPOSER_ALLOW_SUPERUSER=1 | ||
RUN COMPOSER_MEMORY_LIMIT=-1 composer install --prefer-dist --no-interaction --no-dev | ||
RUN COMPOSER_MEMORY_LIMIT=-1 composer install | ||
|
||
WORKDIR /var/www/html/ | ||
RUN chown -R www-data:www-data * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters