Page MenuHomePhabricator

Distribute official container images of MediaWiki alongside the tarballs and git links
Open, Needs TriagePublic

Description

Right now our main third party distribution process is to tell people to manually download a tar/zip file and expand it locally, and set everything else (LAMP) up around it. I think we'd serve potential users better if we also gave them the option of a standalone containerised image that handled a lot of the technology selection and configuration choices for them.

The Wikibase team did a lot of work on Wikibase Release Strategy and we should learn from them.

Open questions

  • What container? Docker?
  • What technology selections would we make?
  • How would we propagate upstream security fixes?
  • Would this cover persistent data storage, or would users need to provide that externally?
  • What would the upgrade process be like?

Event Timeline

I am a person running a mediawiki instance using docker. I went straight to Docker Hub, searched for MediaWiki, found the docker-official-wikimedia-unofficial image (🥲) and adapted the docker-compose.yml. Although the instance seems to be going fine, the strong warnings against the Docker Hub images found in the mediawiki-wiki are quite disconcerting.

Whatever Wikimedia thinks about it, there is a public perception that there already is an official image. I am happy to submit a PR to the Docker Hub readme to alert potential users this is not the case. However I am rather more enthusiastic to help make it official, I imagine my main contributions to be documenting, testing and motivating.