Skip to content

Commit

Permalink
Install missing PHP module gettext
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-lerch committed Jul 28, 2020
1 parent 8477c98 commit 206498b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 6 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ RUN set -x \
libc-client-dev libkrb5-dev libpng-dev libjpeg-dev \
&& rm -rf /var/lib/apt/list/* \
# Install PHP extensions
&& docker-php-ext-configure gd --with-jpeg-dir=/usr/include \
&& docker-php-ext-install gd \
&& docker-php-ext-configure gettext \
&& docker-php-ext-install gettext \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& docker-php-ext-install imap \
&& docker-php-ext-configure mysqli \
&& docker-php-ext-install mysqli \
&& docker-php-ext-configure zip \
&& docker-php-ext-install zip \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& docker-php-ext-install imap \
&& docker-php-ext-configure gd --with-jpeg-dir=/usr/include \
&& docker-php-ext-install gd \
# Configure environment
&& a2enmod rewrite \
&& sed -i \
Expand Down
9 changes: 9 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "daniel-lerch/openkool",
"description": "Open source fork of kOOL - Online church organization tool",
"require-dev": {
"behat/behat": "^3.4",
"behat/mink-extension": "^2.0",
Expand All @@ -13,6 +15,13 @@
}
},
"require": {
"php": ">=7.1.0",
"ext-gd": "*",
"ext-gettext": "*",
"ext-imap": "*",
"ext-mbstring": "*",
"ext-mysqli": "*",
"ext-openssl": "*",
"phpseclib/phpseclib": "~2.0",
"phpoffice/phpspreadsheet": "^1.6",
"smarty/smarty": "2.6.*"
Expand Down
12 changes: 10 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions install/default/php-windows.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ extension_dir = "" ; Insert your PHP extension directory
extension = php_curl.dll
extension = php_fileinfo.dll
extension = php_gd2.dll
extension = php_gettext.dll
extension = php_imap.dll
extension = php_mbstring.dll
extension = php_mysqli.dll
Expand Down

0 comments on commit 206498b

Please sign in to comment.