feat: add TemplateStyles extension

This commit is contained in:
teutat3s 2024-01-08 14:08:16 +01:00
parent 24325d86e5
commit 5c88d9ce3e
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -7,6 +7,7 @@ RUN docker-php-ext-configure pgsql --with-pgsql=/usr/local/pgsql && \
ENV PLUGGABLE_AUTH_VERSION=REL1_41-0273c84 ENV PLUGGABLE_AUTH_VERSION=REL1_41-0273c84
ENV OPENID_CONNECT_VERSION=REL1_41-7aa039e ENV OPENID_CONNECT_VERSION=REL1_41-7aa039e
ENV TEMPLATE_STYLES_VERSION=REL1_41-a9dde29
RUN export PLUGGABLE_AUTH_SHA256SUM=9a3d8d7c1e5234bf932747b08b09c2577b08afb252a6dd995b1b0e26beb97af9 && \ RUN export PLUGGABLE_AUTH_SHA256SUM=9a3d8d7c1e5234bf932747b08b09c2577b08afb252a6dd995b1b0e26beb97af9 && \
export archive=PluggableAuth-${PLUGGABLE_AUTH_VERSION}.tar.gz && \ export archive=PluggableAuth-${PLUGGABLE_AUTH_VERSION}.tar.gz && \
@ -22,6 +23,13 @@ RUN export OPENID_CONNECT_SHA256SUM=3d96788d28151056e7052d76e5264355daa39f5a825f
tar --extract --gzip --file /tmp/${archive} --directory /var/www/html/extensions && \ tar --extract --gzip --file /tmp/${archive} --directory /var/www/html/extensions && \
rm /tmp/${archive} rm /tmp/${archive}
RUN export TEMPLATE_STYLES_SHA256SUM=74c3287f8c8658d6e12dc16a2dd8587505695f684eb850bc36b3af6b019e4794 && \
export archive=TemplateStyles-${TEMPLATE_STYLES_VERSION}.tar.gz && \
curl --location --silent --output /tmp/${archive} https://extdist.wmflabs.org/dist/extensions/${archive} && \
echo "${TEMPLATE_STYLES_SHA256SUM} /tmp/${archive}" | sha256sum --check && \
tar --extract --gzip --file /tmp/${archive} --directory /var/www/html/extensions && \
rm /tmp/${archive}
RUN echo '{ "extra": { "merge-plugin": { "include": [ "extensions/OpenIDConnect/composer.json" ] } } }' \ RUN echo '{ "extra": { "merge-plugin": { "include": [ "extensions/OpenIDConnect/composer.json" ] } } }' \
> /var/www/html/composer.local.json && \ > /var/www/html/composer.local.json && \
php -r "copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');" && \ php -r "copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');" && \