Label MediaWiki containers
This commit is contained in:
parent
1a55006e75
commit
d939b46477
1 changed files with 17 additions and 6 deletions
|
@ -1,28 +1,39 @@
|
|||
FROM alpine AS builder
|
||||
|
||||
ARG MW_VERSION=1.42.4
|
||||
ARG MW_RELEASE=REL1_42
|
||||
|
||||
WORKDIR /usr/src
|
||||
|
||||
RUN apk update && apk add git
|
||||
|
||||
ADD https://releases.wikimedia.org/mediawiki/1.42/mediawiki-1.42.4.tar.gz .
|
||||
RUN tar -xzf mediawiki-1.42.4.tar.gz && mv mediawiki-1.42.4 mediawiki
|
||||
ADD https://releases.wikimedia.org/mediawiki/1.42/mediawiki-${MW_VERSION}.tar.gz .
|
||||
RUN tar -xzf mediawiki-${MW_VERSION}.tar.gz && mv mediawiki-${MW_VERSION} mediawiki
|
||||
|
||||
WORKDIR /usr/src/mediawiki
|
||||
|
||||
RUN git clone -b REL1_42 https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend extensions/MobileFrontend; \
|
||||
RUN git clone -b ${MW_RELEASE} https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend extensions/MobileFrontend; \
|
||||
rm -rf extensions/MobileFrontend/.git
|
||||
|
||||
RUN git clone -b REL1_42 https://gerrit.wikimedia.org/r/mediawiki/extensions/PluggableAuth extensions/PluggableAuth; \
|
||||
RUN git clone -b ${MW_RELEASE} https://gerrit.wikimedia.org/r/mediawiki/extensions/PluggableAuth extensions/PluggableAuth; \
|
||||
rm -rf extensions/PluggableAuth/.git
|
||||
|
||||
RUN git clone -b REL1_42 https://gerrit.wikimedia.org/r/mediawiki/extensions/OpenIDConnect extensions/OpenIDConnect; \
|
||||
RUN git clone -b ${MW_RELEASE} https://gerrit.wikimedia.org/r/mediawiki/extensions/OpenIDConnect extensions/OpenIDConnect; \
|
||||
rm -rf extensions/OpenIDConnect/.git
|
||||
|
||||
RUN git clone -b REL1_42 https://gerrit.wikimedia.org/r/mediawiki/extensions/Widgets extensions/Widgets; \
|
||||
RUN git clone -b ${MW_RELEASE} https://gerrit.wikimedia.org/r/mediawiki/extensions/Widgets extensions/Widgets; \
|
||||
rm -rf extensions/Widgets/.git
|
||||
|
||||
FROM docker.io/library/unit:php8.2
|
||||
|
||||
LABEL org.opencontainers.image.authors=""
|
||||
LABEL org.opencontainers.image.url="https://dev.ccchb.de/ccchb/oci-images/src/branch/main/mediawiki"
|
||||
LABEL org.opencontainers.image.source="https://dev.ccchb.de/ccchb/oci-images/src/branch/main/mediawiki"
|
||||
LABEL org.opencontainers.image.documentation="https://dev.ccchb.de/ccchb/oci-images/src/branch/main/mediawiki"
|
||||
LABEL org.opencontainers.image.version=26.0.5
|
||||
LABEL org.opencontainers.image.vendor="CCC Bremen"
|
||||
LABEL org.opencontainers.image.description="Keycloak image for auth.ccchb.de"
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
|
|
Loading…
Reference in a new issue