Redis module, PEAR + PECL added into PHP

This commit is contained in:
Adam Štrauch 2020-02-13 00:25:24 +01:00
parent 3f09d038ea
commit 71de1952bd
3 changed files with 10 additions and 3 deletions

View File

@ -14,7 +14,7 @@ imagemagick libmagickwand-dev ncdu \
libcurl4-openssl-dev python3 python3-pip python3-virtualenv \
libcurl4-openssl-dev python-dev libproj-dev gdal-bin libmemcached-dev swig mutt \
imagemagick ffmpeg libyaml-dev libc-client2007e-dev libonig-dev libkrb5-dev dialog \
whiptail tmux
whiptail tmux rsync nmap
WORKDIR /srv

View File

@ -1,15 +1,17 @@
DOCKER=docker
VERSION=2020.02
VERSION=2020.02-2
all: build
build:
$(DOCKER) pull debian:buster
$(DOCKER) build -t rosti/runtime:dev .
test: build
DOCKER=$(DOCKER) ./tests.sh
squashed:
$(DOCKER) pull debian:buster
$(DOCKER) build --squash -t rosti/runtime:dev-squashed .
push: squashed

View File

@ -62,9 +62,14 @@ cd php-$VERSION
--with-imap \
--with-imap-ssl \
--with-kerberos \
--with-soapclient
--with-soapclient \
--with-pear
make -j
make install
mkdir -p /opt/techs/php-$VERSION/etc/conf.d/
ln -s /srv/conf/php-fpm/php.ini /opt/techs/php-$VERSION/etc/conf.d/app.ini
echo "no" | /opt/techs/php-$VERSION/bin/pecl install redis
echo "extension=redis.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini