Created
August 11, 2018 19:12
-
-
Save scottrigby/f6efcadbe6c1e63060416c05102ad38c to your computer and use it in GitHub Desktop.
Example Composer deps for Bitnami Drupal image
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
FROM bitnami/drupal:8 | |
# Allow user codebase to include a custom composer merge file. | |
# See https://github.com/wikimedia/composer-merge-plugin. | |
COPY merge-composer.json /opt/bitnami | |
RUN apt-get update && apt-get install -y jq | |
RUN cd /opt/bitnami/drupal \ | |
&& tmp=$(mktemp) \ | |
&& cat composer.json | jq '.extra."merge-plugin".include |= .+ ["../merge-composer.json"]' > "$tmp" \ | |
&& mv "$tmp" composer.json \ | |
&& composer update --with-dependencies |
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
{ | |
"require": { | |
"drupal/adva": "1.0-rc5", | |
"drupal/content_lock": "1.0-alpha8", | |
"drupal/field_group": "3.0-beta1", | |
"drupal/rac": "2.0-rc5", | |
"knplabs/github-api": "~1.4" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment