sha256:d39b8b1b77f59d3d4598056ffc470b8bb36631008af92a58127260eac7c3f9b3
OS/ARCH
Compressed size
312.67 MB
Last pushed
3 days by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:bc68985036404d80bb1d2d036f9cd3775ed0a25af7348df60b28b2d3ae6b7f0d
30
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git librsvg2-bin imagemagick python3 ; rm -rf /var/lib/apt/lists/* # buildkit
50.48 MB
31
RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libicu-dev libonig-dev liblua5.1-0-dev ; docker-php-ext-install -j "$(nproc)" calendar intl mbstring mysqli opcache ; pecl install APCu-5.1.28; pecl install LuaSandbox-4.1.2; docker-php-ext-enable apcu luasandbox ; rm -r /tmp/pear; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/* # buildkit
17.05 MB
32
RUN /bin/sh -c set -eux; a2enmod rewrite; { echo "<Directory /var/www/html>"; echo " RewriteEngine On"; echo " RewriteCond %{REQUEST_FILENAME} !-f"; echo " RewriteCond %{REQUEST_FILENAME} !-d"; echo " RewriteRule ^ %{DOCUMENT_ROOT}/index.php [L]"; echo "</Directory>"; } > "$APACHE_CONFDIR/conf-available/short-url.conf"; a2enconf short-url # buildkit
577 B
33
RUN /bin/sh -c sed -i "s/<\/VirtualHost>/\tAllowEncodedSlashes NoDecode\n<\/VirtualHost>/" "$APACHE_CONFDIR/sites-available/000-default.conf" # buildkit
904 B
34
RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=60'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini # buildkit
315 B
35
RUN /bin/sh -c set -eux; mkdir -p /var/www/data; chown -R www-data:www-data /var/www/data # buildkit
139 B
36
ENV MEDIAWIKI_MAJOR_VERSION=1.46
0 B
37
ENV MEDIAWIKI_VERSION=1.46.0
0 B
38
RUN /bin/sh -c set -eux; fetchDeps=" gnupg dirmngr "; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz" -o mediawiki.tar.gz; curl -fSL "https://releases.wikimedia.org/mediawiki/${MEDIAWIKI_MAJOR_VERSION}/mediawiki-${MEDIAWIKI_VERSION}.tar.gz.sig" -o mediawiki.tar.gz.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys D7D6767D135A514BEB86E9BA75682B08E8A3FEC4 441276E9CCD15F44F6D97D18C119E1A64D70938E F7F780D82EBFB8A56556E7EE82403E59F9F8CD79 1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0 E059C034E7A430583C252F4AA8F734246D73B586 7759DE19A22260232F251342FC4D45E75D14112B ; gpg --batch --verify mediawiki.tar.gz.sig mediawiki.tar.gz; tar -x --strip-components=1 -f mediawiki.tar.gz; gpgconf --kill all; rm -r "$GNUPGHOME" mediawiki.tar.gz.sig mediawiki.tar.gz; chown -R www-data:www-data extensions skins cache images; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; rm -rf /var/lib/apt/lists/* # buildkit
98.69 MB
39
CMD ["apache2-foreground"]
0 B