create links to mediawiki maintenance scripts
This commit is contained in:
parent
b8c8bc331e
commit
b365cfa58e
@ -27,6 +27,9 @@ RUN cd /tmp && wget $MW_SOURCE && tar -xvf mediawiki-*.tar.gz && \
|
||||
|
||||
RUN chown -R www-data:www-data $SOURCE_ROOT
|
||||
|
||||
RUN cd "$WIKI_SOURCE/maintenance" && \
|
||||
sh -c 'for TOOL in *.php; do LINK="/usr/bin/$(basename $TOOL .php)"; echo "#!/bin/sh\nphp $WIKI_SOURCE/maintenance/$TOOL \$@" > $LINK; chmod +x $LINK; done'
|
||||
|
||||
# Add our scripts
|
||||
ADD scripts scripts
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user