update composer to latest before running it
This commit is contained in:
parent
ef558e03f2
commit
0135c4edca
@ -9,6 +9,9 @@ ENV MW_VERSION REL1_27
|
|||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
|
# Update composer
|
||||||
|
RUN composer self-update
|
||||||
|
|
||||||
# Remove the old hello world app and grab Mediawiki source
|
# 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 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
|
RUN rm -fr /app && mv /var/www/html /var/www/w && git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git /app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user