This commit is contained in:
root 2020-11-04 18:36:12 +03:00
commit e1b32fa0a9
2 changed files with 11 additions and 0 deletions

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM gemoroy/php:56
ADD http://downloads.zend.com/guard/7.0.0/zend-loader-php5.6-linux-x86_64_update1.tar.gz /zend-loader.tar.gz
RUN /bin/sh -c 'cd / ; tar -xf /zend-loader.tar.gz ; echo "zend_extension=/zend-loader-php5.6-linux-x86_64/ZendGuardLoader.so" >> /usr/local/etc/php/conf.d/docker-mods.ini ; apk update ; apk add libstdc++ '

6
Dockerfile_old Normal file
View File

@ -0,0 +1,6 @@
FROM gemoroy/php:56
ADD https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz /ioncube.tar.gz
ADD http://downloads.zend.com/guard/7.0.0/zend-loader-php5.6-linux-x86_64_update1.tar.gz /zend-loader.tar.gz
RUN /bin/sh -c 'cd / ; tar -xf /ioncube.tar.gz ; echo zend_extension=/ioncube/ioncube_loader_lin_5.6.so >> /usr/local/etc/php/conf.d/docker-mods.ini ; tar -xf /zend-loader.tar.gz ; echo zend_extension=/zend-loader-php5.6-linux-x86_64/ZendGuardLoader.so >> /usr/local/etc/php/conf.d/docker-mods.ini ; echo zend_extension=/zend-loader-php5.6-linux-x86_64/opcache.so >> /usr/local/etc/php/conf.d/docker-mods.ini ; apk update ; apk add libstdc++ '