Browse Source

create links to mediawiki maintenance scripts

auth_remoteuser
Adrian Malacoda 1 year ago
parent
commit
b365cfa58e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Dockerfile

+ 3
- 0
Dockerfile View File

@@ -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…
Cancel
Save