We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f3a756 commit edec366Copy full SHA for edec366
build/wikibase/Dockerfile
@@ -98,9 +98,10 @@ RUN { \
98
# MediaWiki setup
99
WORKDIR /var/www/html
100
ARG MEDIAWIKI_VERSION
101
+# Set the user agent as releases.wikimedia.org will 403 us otherwise
102
# hadolint ignore=DL4006
103
RUN set -eux; \
- curl -fSL "https://releases.wikimedia.org/mediawiki/$(echo ${MEDIAWIKI_VERSION} | cut -d. -f1,2)/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; \
104
+ curl -A "Mozilla/5.0" -fSL "https://releases.wikimedia.org/mediawiki/$(echo ${MEDIAWIKI_VERSION} | cut -d. -f1,2)/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; \
105
tar -x --strip-components=1 -f mediawiki.tar.gz; \
106
rm -r mediawiki.tar.gz; \
107
install -d /var/log/mediawiki -o www-data
0 commit comments