Redis module, PEAR + PECL added into PHP
This commit is contained in:
parent
3f09d038ea
commit
71de1952bd
3 changed files with 10 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue