FROM alpine AS builder ADD https://extdist.wmflabs.org/dist/extensions/MobileFrontend-REL1_42-a9969ab.tar.gz /usr/src/ RUN tar -xz -C /usr/src -f /usr/src/MobileFrontend-REL1_42-a9969ab.tar.gz ADD https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_42-b35addc.tar.gz /usr/src/ RUN tar -xz -C /usr/src -f /usr/src/PluggableAuth-REL1_42-b35addc.tar.gz ADD https://extdist.wmflabs.org/dist/extensions/OpenIDConnect-REL1_42-83024de.tar.gz /usr/src/ RUN tar -xz -C /usr/src -f /usr/src/OpenIDConnect-REL1_42-83024de.tar.gz FROM docker.io/mediawiki:1.42.3-fpm-alpine COPY --from=builder --chown=www-data:www-data /usr/src/MobileFrontend extensions/MobileFrontend COPY --from=builder --chown=www-data:www-data /usr/src/PluggableAuth extensions/PluggableAuth COPY --from=builder --chown=www-data:www-data /usr/src/OpenIDConnect extensions/OpenIDConnect