Skip to content

Commit

Permalink
feat: Update to latest MW with PHP/Alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
MPThLee authored Nov 5, 2024
1 parent ccc189e commit c6c8150
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG MEDIAWIKI_VERSION=1.39.7
ARG ALPINE_VERSION=3.19
ARG PHP_VERSION=81
ARG MEDIAWIKI_VERSION=1.39.10
ARG ALPINE_VERSION=3.20
ARG PHP_VERSION=83

# Download mediawiki
FROM alpine:$ALPINE_VERSION as builder
Expand Down
2 changes: 1 addition & 1 deletion cron/generate-backup
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# PHP Version
_phpv=81
_phpv=83

# TODO: Why not move this to other dockers?

Expand Down
2 changes: 1 addition & 1 deletion cron/generate-dumps
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# --------

# PHP Version
_phpv=81
_phpv=83

datestamp=`date +'%Y-%m-%d'`
php="sudo -u nginx -g www-data php$_phpv"
Expand Down
2 changes: 1 addition & 1 deletion cron/generate-sitemap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# PHP Version
_phpv=81
_phpv=83

cd /srv/wiki

Expand Down
2 changes: 1 addition & 1 deletion cron/run-jobs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# PHP Version
_phpv=81
_phpv=83

cd /srv/wiki/w

Expand Down
2 changes: 1 addition & 1 deletion cron/run-transcode-jobs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# PHP Version
_phpv=81
_phpv=83

cd /srv/wiki/w

Expand Down
2 changes: 1 addition & 1 deletion cron/update-sfs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# PHP Version
_phpv=81
_phpv=83

sudo -u nginx -g www-data php$_phpv /srv/wiki/w/extensions/StopForumSpam/maintenance/updateDenyList.php
2 changes: 1 addition & 1 deletion run
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail
echo "Starting wiki..."

# PHP Version
_phpv=81
_phpv=83

# Wait until other services are fully started.
seconds=10
Expand Down

0 comments on commit c6c8150

Please sign in to comment.