Skip to content

Commit

Permalink
php: Install wikidiff2 and luasandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Aug 1, 2024
1 parent e5989c3 commit cd6b289
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-php-fpm.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Docker: php-fpm'

env:
TAG: '1.1.0'
TAG: '1.2.0'

on:
push:
Expand Down
15 changes: 8 additions & 7 deletions dockers/php-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,32 @@ RUN apt-get update && apt-get install -y \
# Runtime depenencies
imagemagick \
librsvg2-bin \
php-wikidiff2 \
# See https://github.com/femiwiki/docker-mediawiki/issues/442
git \
# Required for SyntaxHighlighting
python3 \
# Required for Scribunto when the machine is on aarch64 architecture
# Only 5.1.x is supported
# Reference: https://www.mediawiki.org/wiki/Extension:Scribunto#Additional_binaries
lua5.1 \
# CLI utilities
cron \
sudo \
# https://getcomposer.org/doc/00-intro.md#system-requirements
unzip
unzip \
# Required by Scribunto
php-luasandbox \
;

# See https://caddyserver.com/docs/conventions#file-locations for details
ENV XDG_CONFIG_HOME /config
ENV XDG_DATA_HOME /data

# Install the PHP extensions we need
RUN docker-php-ext-install -j8 \
calendar \
intl \
mysqli \
opcache \
intl \
sockets \
calendar
;

# Install the default object cache
RUN pecl channel-update pecl.php.net
Expand Down
4 changes: 4 additions & 0 deletions dockers/php-fpm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

미디어위키 실행에 필요한 각종 PHP 디펜던시들을 설치한다.

## v1.2.0

- Add more php extensions: wikidiff2 and luasandbox

## v1.1.0

- Include Composer

0 comments on commit cd6b289

Please sign in to comment.