Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix 1.42.4 update script, add 1.43.0, remove EOL 1.41 #18170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

christian-heusel
Copy link
Contributor

This comment has been minimized.

@christian-heusel
Copy link
Contributor Author

@tianon @yosifkit @LaurentGoderre friendly ping, could we get this reviewed & merged? 😊

@tianon
Copy link
Member

tianon commented Jan 7, 2025

Apologies for the delay (holiday PTO 🙈).

+	gpg --fetch-keys "https://www.mediawiki.org/keys/keys.txt"; \

Unfortunately, this is not acceptable -- the specific keys need to be verified in some way (checksum or full fingerprint). See docker-library/tomcat#327 for an approach that might be reasonable in your case (essentially: download the keys, import them, export specific keys via full fingerprint, wipe, import exported keys, verify).

Another reasonable alternative (depending on what problem this change is trying to solve) would be to swap to the https://keys.openpgp.org/ keyserver, which is very reliable, but has the added requirement that key holders verify their email addresses (for GDPR compliance).

@christian-heusel christian-heusel force-pushed the 2024-12-24_mediawiki-updates branch from d711ed4 to 805f988 Compare January 9, 2025 11:34
Copy link

github-actions bot commented Jan 9, 2025

Diff for 805f988:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index f6a0b7c..e115613 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -2,34 +2,34 @@ Maintainers: Kunal Mehta <[email protected]> (@legoktm), addshore <addshorewiki
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, ppc64le
 GitRepo: https://github.com/wikimedia/mediawiki-docker.git
 GitFetch: refs/heads/main
-GitCommit: 597ec9bc8565eefd398bc6831130fff2443b6c8a
+GitCommit: 1be3b2bf0efd0f09e4cf2e706b2ecd92f3680fab
 
-Tags: 1.39.11, 1.39, lts
+Tags: 1.39.11, 1.39
 Directory: 1.39/apache
 
-Tags: 1.39.11-fpm, 1.39-fpm, lts-fpm
+Tags: 1.39.11-fpm, 1.39-fpm
 Directory: 1.39/fpm
 
-Tags: 1.39.11-fpm-alpine, 1.39-fpm-alpine, lts-fpm-alpine
+Tags: 1.39.11-fpm-alpine, 1.39-fpm-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le
 Directory: 1.39/fpm-alpine
 
-Tags: 1.41.5, 1.41, legacy
-Directory: 1.41/apache
+Tags: 1.42.4, 1.42, legacy
+Directory: 1.42/apache
 
-Tags: 1.41.5-fpm, 1.41-fpm, legacy-fpm
-Directory: 1.41/fpm
+Tags: 1.42.4-fpm, 1.42-fpm, legacy-fpm
+Directory: 1.42/fpm
 
-Tags: 1.41.5-fpm-alpine, 1.41-fpm-alpine, legacy-fpm-alpine
+Tags: 1.42.4-fpm-alpine, 1.42-fpm-alpine, legacy-fpm-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le
-Directory: 1.41/fpm-alpine
+Directory: 1.42/fpm-alpine
 
-Tags: 1.42.4, 1.42, stable, latest
-Directory: 1.42/apache
+Tags: 1.43.0, 1.43, latest, stable, lts
+Directory: 1.43/apache
 
-Tags: 1.42.4-fpm, 1.42-fpm, stable-fpm
-Directory: 1.42/fpm
+Tags: 1.43.0-fpm, 1.43-fpm, stable-fpm, lts-fpm
+Directory: 1.43/fpm
 
-Tags: 1.42.4-fpm-alpine, 1.42-fpm-alpine, stable-fpm-alpine
+Tags: 1.43.0-fpm-alpine, 1.43-fpm-alpine, stable-fpm-alpine, lts-fpm-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le
-Directory: 1.42/fpm-alpine
+Directory: 1.43/fpm-alpine
diff --git a/_bashbrew-list b/_bashbrew-list
index 2564710..7367342 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -4,18 +4,18 @@ mediawiki:1.39-fpm-alpine
 mediawiki:1.39.11
 mediawiki:1.39.11-fpm
 mediawiki:1.39.11-fpm-alpine
-mediawiki:1.41
-mediawiki:1.41-fpm
-mediawiki:1.41-fpm-alpine
-mediawiki:1.41.5
-mediawiki:1.41.5-fpm
-mediawiki:1.41.5-fpm-alpine
 mediawiki:1.42
 mediawiki:1.42-fpm
 mediawiki:1.42-fpm-alpine
 mediawiki:1.42.4
 mediawiki:1.42.4-fpm
 mediawiki:1.42.4-fpm-alpine
+mediawiki:1.43
+mediawiki:1.43-fpm
+mediawiki:1.43-fpm-alpine
+mediawiki:1.43.0
+mediawiki:1.43.0-fpm
+mediawiki:1.43.0-fpm-alpine
 mediawiki:latest
 mediawiki:legacy
 mediawiki:legacy-fpm
diff --git a/_bashbrew-list-build-order b/_bashbrew-list-build-order
index 6a1545d..8f1a6d0 100644
--- a/_bashbrew-list-build-order
+++ b/_bashbrew-list-build-order
@@ -1,9 +1,9 @@
-mediawiki:latest
+mediawiki:1.39
+mediawiki:1.39-fpm
+mediawiki:1.39-fpm-alpine
 mediawiki:legacy
 mediawiki:legacy-fpm
 mediawiki:legacy-fpm-alpine
 mediawiki:lts
 mediawiki:lts-fpm
 mediawiki:lts-fpm-alpine
-mediawiki:stable-fpm
-mediawiki:stable-fpm-alpine
diff --git a/mediawiki_stable-fpm-alpine/Dockerfile b/mediawiki_1.39-fpm-alpine/Dockerfile
similarity index 89%
rename from mediawiki_stable-fpm-alpine/Dockerfile
rename to mediawiki_1.39-fpm-alpine/Dockerfile
index ceddff5..bfa4d68 100644
--- a/mediawiki_stable-fpm-alpine/Dockerfile
+++ b/mediawiki_1.39-fpm-alpine/Dockerfile
@@ -61,8 +61,8 @@ RUN set -eux; \
 	chown -R www-data:www-data /var/www/data
 
 # Version
-ENV MEDIAWIKI_MAJOR_VERSION 1.42
-ENV MEDIAWIKI_VERSION 1.42.4
+ENV MEDIAWIKI_MAJOR_VERSION 1.39
+ENV MEDIAWIKI_VERSION 1.39.11
 
 # MediaWiki setup
 RUN set -eux; \
@@ -74,15 +74,19 @@ RUN set -eux; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz.sig" -o mediawiki.tar.gz.sig; \
 	export GNUPGHOME="$(mktemp -d)"; \
-# gpg key from https://www.mediawiki.org/keys/keys.txt
+	# gpg key from https://www.mediawiki.org/keys/keys.txt
 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys \
 		D7D6767D135A514BEB86E9BA75682B08E8A3FEC4 \
 		441276E9CCD15F44F6D97D18C119E1A64D70938E \
 		F7F780D82EBFB8A56556E7EE82403E59F9F8CD79 \
 		1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0 \
+		E059C034E7A430583C252F4AA8F734246D73B586 \
 	; \
 	gpg --batch --verify mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	tar -x --strip-components=1 -f mediawiki.tar.gz; \
+	[ 1.39.11 = "1.42.4" ] && \
+		sed -i 's|wikimedia/parsoid": "0.19.0"|wikimedia/parsoid": "0.19.1"|' \
+			composer.json; \
 	gpgconf --kill all; \
 	rm -rf "$GNUPGHOME" mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	chown -R www-data:www-data extensions skins cache images; \
diff --git a/mediawiki_stable-fpm/Dockerfile b/mediawiki_1.39-fpm/Dockerfile
similarity index 90%
rename from mediawiki_stable-fpm/Dockerfile
rename to mediawiki_1.39-fpm/Dockerfile
index 42d0101..888ff4f 100644
--- a/mediawiki_stable-fpm/Dockerfile
+++ b/mediawiki_1.39-fpm/Dockerfile
@@ -71,8 +71,8 @@ RUN set -eux; \
 	chown -R www-data:www-data /var/www/data
 
 # Version
-ENV MEDIAWIKI_MAJOR_VERSION 1.42
-ENV MEDIAWIKI_VERSION 1.42.4
+ENV MEDIAWIKI_MAJOR_VERSION 1.39
+ENV MEDIAWIKI_VERSION 1.39.11
 
 # MediaWiki setup
 RUN set -eux; \
@@ -86,15 +86,19 @@ RUN set -eux; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz.sig" -o mediawiki.tar.gz.sig; \
 	export GNUPGHOME="$(mktemp -d)"; \
-# gpg key from https://www.mediawiki.org/keys/keys.txt
+	# gpg key from https://www.mediawiki.org/keys/keys.txt
 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys \
 		D7D6767D135A514BEB86E9BA75682B08E8A3FEC4 \
 		441276E9CCD15F44F6D97D18C119E1A64D70938E \
 		F7F780D82EBFB8A56556E7EE82403E59F9F8CD79 \
 		1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0 \
+		E059C034E7A430583C252F4AA8F734246D73B586 \
 	; \
 	gpg --batch --verify mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	tar -x --strip-components=1 -f mediawiki.tar.gz; \
+	[ 1.39.11 = "1.42.4" ] && \
+		sed -i 's|wikimedia/parsoid": "0.19.0"|wikimedia/parsoid": "0.19.1"|' \
+			composer.json; \
 	gpgconf --kill all; \
 	rm -r "$GNUPGHOME" mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	chown -R www-data:www-data extensions skins cache images; \
diff --git a/mediawiki_latest/Dockerfile b/mediawiki_1.39/Dockerfile
similarity index 92%
rename from mediawiki_latest/Dockerfile
rename to mediawiki_1.39/Dockerfile
index d310834..20a9f1f 100644
--- a/mediawiki_latest/Dockerfile
+++ b/mediawiki_1.39/Dockerfile
@@ -86,8 +86,8 @@ RUN set -eux; \
 	chown -R www-data:www-data /var/www/data
 
 # Version
-ENV MEDIAWIKI_MAJOR_VERSION 1.42
-ENV MEDIAWIKI_VERSION 1.42.4
+ENV MEDIAWIKI_MAJOR_VERSION 1.39
+ENV MEDIAWIKI_VERSION 1.39.11
 
 # MediaWiki setup
 RUN set -eux; \
@@ -101,15 +101,19 @@ RUN set -eux; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz.sig" -o mediawiki.tar.gz.sig; \
 	export GNUPGHOME="$(mktemp -d)"; \
-# gpg key from https://www.mediawiki.org/keys/keys.txt
+	# gpg key from https://www.mediawiki.org/keys/keys.txt
 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys \
 		D7D6767D135A514BEB86E9BA75682B08E8A3FEC4 \
 		441276E9CCD15F44F6D97D18C119E1A64D70938E \
 		F7F780D82EBFB8A56556E7EE82403E59F9F8CD79 \
 		1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0 \
+		E059C034E7A430583C252F4AA8F734246D73B586 \
 	; \
 	gpg --batch --verify mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	tar -x --strip-components=1 -f mediawiki.tar.gz; \
+	[ 1.39.11 = "1.42.4" ] && \
+		sed -i 's|wikimedia/parsoid": "0.19.0"|wikimedia/parsoid": "0.19.1"|' \
+			composer.json; \
 	gpgconf --kill all; \
 	rm -r "$GNUPGHOME" mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	chown -R www-data:www-data extensions skins cache images; \
diff --git a/mediawiki_legacy-fpm-alpine/Dockerfile b/mediawiki_legacy-fpm-alpine/Dockerfile
index 9e6aa7a..45497a8 100644
--- a/mediawiki_legacy-fpm-alpine/Dockerfile
+++ b/mediawiki_legacy-fpm-alpine/Dockerfile
@@ -61,8 +61,8 @@ RUN set -eux; \
 	chown -R www-data:www-data /var/www/data
 
 # Version
-ENV MEDIAWIKI_MAJOR_VERSION 1.41
-ENV MEDIAWIKI_VERSION 1.41.5
+ENV MEDIAWIKI_MAJOR_VERSION 1.42
+ENV MEDIAWIKI_VERSION 1.42.4
 
 # MediaWiki setup
 RUN set -eux; \
@@ -74,15 +74,19 @@ RUN set -eux; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz.sig" -o mediawiki.tar.gz.sig; \
 	export GNUPGHOME="$(mktemp -d)"; \
-# gpg key from https://www.mediawiki.org/keys/keys.txt
+	# gpg key from https://www.mediawiki.org/keys/keys.txt
 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys \
 		D7D6767D135A514BEB86E9BA75682B08E8A3FEC4 \
 		441276E9CCD15F44F6D97D18C119E1A64D70938E \
 		F7F780D82EBFB8A56556E7EE82403E59F9F8CD79 \
 		1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0 \
+		E059C034E7A430583C252F4AA8F734246D73B586 \
 	; \
 	gpg --batch --verify mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	tar -x --strip-components=1 -f mediawiki.tar.gz; \
+	[ 1.42.4 = "1.42.4" ] && \
+		sed -i 's|wikimedia/parsoid": "0.19.0"|wikimedia/parsoid": "0.19.1"|' \
+			composer.json; \
 	gpgconf --kill all; \
 	rm -rf "$GNUPGHOME" mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	chown -R www-data:www-data extensions skins cache images; \
diff --git a/mediawiki_legacy-fpm/Dockerfile b/mediawiki_legacy-fpm/Dockerfile
index 7571323..a0bbf14 100644
--- a/mediawiki_legacy-fpm/Dockerfile
+++ b/mediawiki_legacy-fpm/Dockerfile
@@ -71,8 +71,8 @@ RUN set -eux; \
 	chown -R www-data:www-data /var/www/data
 
 # Version
-ENV MEDIAWIKI_MAJOR_VERSION 1.41
-ENV MEDIAWIKI_VERSION 1.41.5
+ENV MEDIAWIKI_MAJOR_VERSION 1.42
+ENV MEDIAWIKI_VERSION 1.42.4
 
 # MediaWiki setup
 RUN set -eux; \
@@ -86,15 +86,19 @@ RUN set -eux; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz.sig" -o mediawiki.tar.gz.sig; \
 	export GNUPGHOME="$(mktemp -d)"; \
-# gpg key from https://www.mediawiki.org/keys/keys.txt
+	# gpg key from https://www.mediawiki.org/keys/keys.txt
 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys \
 		D7D6767D135A514BEB86E9BA75682B08E8A3FEC4 \
 		441276E9CCD15F44F6D97D18C119E1A64D70938E \
 		F7F780D82EBFB8A56556E7EE82403E59F9F8CD79 \
 		1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0 \
+		E059C034E7A430583C252F4AA8F734246D73B586 \
 	; \
 	gpg --batch --verify mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	tar -x --strip-components=1 -f mediawiki.tar.gz; \
+	[ 1.42.4 = "1.42.4" ] && \
+		sed -i 's|wikimedia/parsoid": "0.19.0"|wikimedia/parsoid": "0.19.1"|' \
+			composer.json; \
 	gpgconf --kill all; \
 	rm -r "$GNUPGHOME" mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	chown -R www-data:www-data extensions skins cache images; \
diff --git a/mediawiki_legacy/Dockerfile b/mediawiki_legacy/Dockerfile
index 3a2e70f..41d950d 100644
--- a/mediawiki_legacy/Dockerfile
+++ b/mediawiki_legacy/Dockerfile
@@ -86,8 +86,8 @@ RUN set -eux; \
 	chown -R www-data:www-data /var/www/data
 
 # Version
-ENV MEDIAWIKI_MAJOR_VERSION 1.41
-ENV MEDIAWIKI_VERSION 1.41.5
+ENV MEDIAWIKI_MAJOR_VERSION 1.42
+ENV MEDIAWIKI_VERSION 1.42.4
 
 # MediaWiki setup
 RUN set -eux; \
@@ -101,15 +101,19 @@ RUN set -eux; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz.sig" -o mediawiki.tar.gz.sig; \
 	export GNUPGHOME="$(mktemp -d)"; \
-# gpg key from https://www.mediawiki.org/keys/keys.txt
+	# gpg key from https://www.mediawiki.org/keys/keys.txt
 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys \
 		D7D6767D135A514BEB86E9BA75682B08E8A3FEC4 \
 		441276E9CCD15F44F6D97D18C119E1A64D70938E \
 		F7F780D82EBFB8A56556E7EE82403E59F9F8CD79 \
 		1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0 \
+		E059C034E7A430583C252F4AA8F734246D73B586 \
 	; \
 	gpg --batch --verify mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	tar -x --strip-components=1 -f mediawiki.tar.gz; \
+	[ 1.42.4 = "1.42.4" ] && \
+		sed -i 's|wikimedia/parsoid": "0.19.0"|wikimedia/parsoid": "0.19.1"|' \
+			composer.json; \
 	gpgconf --kill all; \
 	rm -r "$GNUPGHOME" mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	chown -R www-data:www-data extensions skins cache images; \
diff --git a/mediawiki_lts-fpm-alpine/Dockerfile b/mediawiki_lts-fpm-alpine/Dockerfile
index d419fb2..00036c2 100644
--- a/mediawiki_lts-fpm-alpine/Dockerfile
+++ b/mediawiki_lts-fpm-alpine/Dockerfile
@@ -61,8 +61,8 @@ RUN set -eux; \
 	chown -R www-data:www-data /var/www/data
 
 # Version
-ENV MEDIAWIKI_MAJOR_VERSION 1.39
-ENV MEDIAWIKI_VERSION 1.39.11
+ENV MEDIAWIKI_MAJOR_VERSION 1.43
+ENV MEDIAWIKI_VERSION 1.43.0
 
 # MediaWiki setup
 RUN set -eux; \
@@ -74,15 +74,19 @@ RUN set -eux; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz.sig" -o mediawiki.tar.gz.sig; \
 	export GNUPGHOME="$(mktemp -d)"; \
-# gpg key from https://www.mediawiki.org/keys/keys.txt
+	# gpg key from https://www.mediawiki.org/keys/keys.txt
 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys \
 		D7D6767D135A514BEB86E9BA75682B08E8A3FEC4 \
 		441276E9CCD15F44F6D97D18C119E1A64D70938E \
 		F7F780D82EBFB8A56556E7EE82403E59F9F8CD79 \
 		1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0 \
+		E059C034E7A430583C252F4AA8F734246D73B586 \
 	; \
 	gpg --batch --verify mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	tar -x --strip-components=1 -f mediawiki.tar.gz; \
+	[ 1.43.0 = "1.42.4" ] && \
+		sed -i 's|wikimedia/parsoid": "0.19.0"|wikimedia/parsoid": "0.19.1"|' \
+			composer.json; \
 	gpgconf --kill all; \
 	rm -rf "$GNUPGHOME" mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	chown -R www-data:www-data extensions skins cache images; \
diff --git a/mediawiki_lts-fpm/Dockerfile b/mediawiki_lts-fpm/Dockerfile
index ef75eb6..8143e60 100644
--- a/mediawiki_lts-fpm/Dockerfile
+++ b/mediawiki_lts-fpm/Dockerfile
@@ -71,8 +71,8 @@ RUN set -eux; \
 	chown -R www-data:www-data /var/www/data
 
 # Version
-ENV MEDIAWIKI_MAJOR_VERSION 1.39
-ENV MEDIAWIKI_VERSION 1.39.11
+ENV MEDIAWIKI_MAJOR_VERSION 1.43
+ENV MEDIAWIKI_VERSION 1.43.0
 
 # MediaWiki setup
 RUN set -eux; \
@@ -86,15 +86,19 @@ RUN set -eux; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz.sig" -o mediawiki.tar.gz.sig; \
 	export GNUPGHOME="$(mktemp -d)"; \
-# gpg key from https://www.mediawiki.org/keys/keys.txt
+	# gpg key from https://www.mediawiki.org/keys/keys.txt
 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys \
 		D7D6767D135A514BEB86E9BA75682B08E8A3FEC4 \
 		441276E9CCD15F44F6D97D18C119E1A64D70938E \
 		F7F780D82EBFB8A56556E7EE82403E59F9F8CD79 \
 		1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0 \
+		E059C034E7A430583C252F4AA8F734246D73B586 \
 	; \
 	gpg --batch --verify mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	tar -x --strip-components=1 -f mediawiki.tar.gz; \
+	[ 1.43.0 = "1.42.4" ] && \
+		sed -i 's|wikimedia/parsoid": "0.19.0"|wikimedia/parsoid": "0.19.1"|' \
+			composer.json; \
 	gpgconf --kill all; \
 	rm -r "$GNUPGHOME" mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	chown -R www-data:www-data extensions skins cache images; \
diff --git a/mediawiki_lts/Dockerfile b/mediawiki_lts/Dockerfile
index 6e87535..0e4b87c 100644
--- a/mediawiki_lts/Dockerfile
+++ b/mediawiki_lts/Dockerfile
@@ -86,8 +86,8 @@ RUN set -eux; \
 	chown -R www-data:www-data /var/www/data
 
 # Version
-ENV MEDIAWIKI_MAJOR_VERSION 1.39
-ENV MEDIAWIKI_VERSION 1.39.11
+ENV MEDIAWIKI_MAJOR_VERSION 1.43
+ENV MEDIAWIKI_VERSION 1.43.0
 
 # MediaWiki setup
 RUN set -eux; \
@@ -101,15 +101,19 @@ RUN set -eux; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; \
 	curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz.sig" -o mediawiki.tar.gz.sig; \
 	export GNUPGHOME="$(mktemp -d)"; \
-# gpg key from https://www.mediawiki.org/keys/keys.txt
+	# gpg key from https://www.mediawiki.org/keys/keys.txt
 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys \
 		D7D6767D135A514BEB86E9BA75682B08E8A3FEC4 \
 		441276E9CCD15F44F6D97D18C119E1A64D70938E \
 		F7F780D82EBFB8A56556E7EE82403E59F9F8CD79 \
 		1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0 \
+		E059C034E7A430583C252F4AA8F734246D73B586 \
 	; \
 	gpg --batch --verify mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	tar -x --strip-components=1 -f mediawiki.tar.gz; \
+	[ 1.43.0 = "1.42.4" ] && \
+		sed -i 's|wikimedia/parsoid": "0.19.0"|wikimedia/parsoid": "0.19.1"|' \
+			composer.json; \
 	gpgconf --kill all; \
 	rm -r "$GNUPGHOME" mediawiki.tar.gz.sig mediawiki.tar.gz; \
 	chown -R www-data:www-data extensions skins cache images; \

Relevant Maintainers:

@christian-heusel
Copy link
Contributor Author

christian-heusel commented Jan 9, 2025

@tianon thanks for your feedback! 🤗 The issue was that the key was not available on the regular servers. I have now uploaded it to keyserver.ubuntu.com and reverted to the previous explicit key list 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants