From 0135c4edca52a7cfbfc767d37b8c91122427e226 Mon Sep 17 00:00:00 2001 From: Adrian Malacoda Date: Sun, 10 Jul 2016 20:44:59 -0500 Subject: [PATCH] update composer to latest before running it --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1dfa3bd..9f588cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,9 @@ ENV MW_VERSION REL1_27 WORKDIR / +# Update composer +RUN composer self-update + # Remove the old hello world app and grab Mediawiki source RUN apt-get update && apt-get install -yq git && rm -rf /var/lib/apt/lists/* RUN rm -fr /app && mv /var/www/html /var/www/w && git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git /app