BryanDavis has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/369838 )
Change subject: Install composer for PHP imaages
......................................................................
Install composer for PHP imaages
Use the same git clone method that is used by the ::toollabs::composer
Puppet module to provision composer in the PHP base image. It's not
pretty, but it is consistent.
Bug: T172358
Change-Id: I9a5d485bac1d65777437f407b8bc9923de7679fa
---
M php/base/Dockerfile.template
1 file changed, 6 insertions(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/operations/docker-images/toollabs-images
refs/changes/38/369838/1
diff --git a/php/base/Dockerfile.template b/php/base/Dockerfile.template
index 16a0c79..c4e2f3a 100644
--- a/php/base/Dockerfile.template
+++ b/php/base/Dockerfile.template
@@ -19,3 +19,9 @@
php5-xsl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
+
+# T172358 - install composer simlarly to ::toollabs::composer
+RUN git clone \
+ https://gerrit.wikimedia.org/r/p/integration/composer.git /srv/composer \
+ && rm -rf /srv/composer/.git \
+ && ln -s /srv/composer/vendor/bin/composer /usr/local/bin/composer
--
To view, visit https://gerrit.wikimedia.org/r/369838
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9a5d485bac1d65777437f407b8bc9923de7679fa
Gerrit-PatchSet: 1
Gerrit-Project: operations/docker-images/toollabs-images
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits