teutat3s 2024-01-08 14:06:31 +01:00
parent 0d9656f60a
commit 24325d86e5
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 6 additions and 7 deletions

View file

@ -7,7 +7,6 @@ jobs:
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
steps: steps:
# test step
- name: Login to Forgejo docker registry - name: Login to Forgejo docker registry
uses: docker/login-action@v3.0.0 uses: docker/login-action@v3.0.0
with: with:
@ -18,4 +17,4 @@ jobs:
uses: docker/build-push-action@v5.1.0 uses: docker/build-push-action@v5.1.0
with: with:
push: true push: true
tags: git.pub.solar/pub-solar/mediawiki-oidc-docker:1.40.1 tags: git.pub.solar/pub-solar/mediawiki-oidc-docker:1.41.0

View file

@ -1,21 +1,21 @@
FROM mediawiki:1.40.1 FROM mediawiki:1.41.0
RUN apt-get update && apt-get install --yes curl libpq-dev tar unzip RUN apt-get update && apt-get install --yes curl libpq-dev tar unzip
RUN docker-php-ext-configure pgsql --with-pgsql=/usr/local/pgsql && \ RUN docker-php-ext-configure pgsql --with-pgsql=/usr/local/pgsql && \
docker-php-ext-install pgsql docker-php-ext-install pgsql
ENV PLUGGABLE_AUTH_VERSION=REL1_40-eb10a76 ENV PLUGGABLE_AUTH_VERSION=REL1_41-0273c84
ENV OPENID_CONNECT_VERSION=REL1_40-e97e0b1 ENV OPENID_CONNECT_VERSION=REL1_41-7aa039e
RUN export PLUGGABLE_AUTH_SHA256SUM=d412cb788d8a931cb3fee5b89354d6f5ef6f3c544d340a63f1cb61cad08b524a && \ RUN export PLUGGABLE_AUTH_SHA256SUM=9a3d8d7c1e5234bf932747b08b09c2577b08afb252a6dd995b1b0e26beb97af9 && \
export archive=PluggableAuth-${PLUGGABLE_AUTH_VERSION}.tar.gz && \ export archive=PluggableAuth-${PLUGGABLE_AUTH_VERSION}.tar.gz && \
curl --location --silent --output /tmp/${archive} https://extdist.wmflabs.org/dist/extensions/${archive} && \ curl --location --silent --output /tmp/${archive} https://extdist.wmflabs.org/dist/extensions/${archive} && \
echo "${PLUGGABLE_AUTH_SHA256SUM} /tmp/${archive}" | sha256sum --check && \ echo "${PLUGGABLE_AUTH_SHA256SUM} /tmp/${archive}" | sha256sum --check && \
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 OPENID_CONNECT_SHA256SUM=0797347c1ee3cab55de2debb63c85b1a7679c647ecba0f97dd62ff6f7a336f9e && \ RUN export OPENID_CONNECT_SHA256SUM=3d96788d28151056e7052d76e5264355daa39f5a825fd4489b0ce3d6b9607dc7 && \
export archive=OpenIDConnect-${OPENID_CONNECT_VERSION}.tar.gz && \ export archive=OpenIDConnect-${OPENID_CONNECT_VERSION}.tar.gz && \
curl --location --silent --output /tmp/${archive} https://extdist.wmflabs.org/dist/extensions/${archive} && \ curl --location --silent --output /tmp/${archive} https://extdist.wmflabs.org/dist/extensions/${archive} && \
echo "${OPENID_CONNECT_SHA256SUM} /tmp/${archive}" | sha256sum --check && \ echo "${OPENID_CONNECT_SHA256SUM} /tmp/${archive}" | sha256sum --check && \