Class: Pd1Tools::Php::DockerImages::V5
- Inherits:
-
Base
show all
- Defined in:
- lib/pd1_tools/php/docker_images/v5.rb
Constant Summary
collapse
- APCU_INSTALL =
<<~CODE
RUN pecl install apcu-4.0.11
RUN docker-php-ext-enable apcu
CODE
- MCRYPT_INSTALL =
<<~CODE
RUN docker-php-ext-install mcrypt
CODE
- XDEBUG_INSTALL =
<<~CODE
RUN apt-get install -y git
RUN cd /tmp && \
git clone https://github.com/xdebug/xdebug.git && \
cd xdebug && \
git checkout XDEBUG_2_5_5 && \
phpize && \
./configure --enable-xdebug && \
make && \
make install && \
rm -rf /tmp/xdebug
CODE
Constants inherited
from Base
Base::GD_OPTIONS, Base::PLATFORM_STEREOTYPE_TAG
Docker::Image::APT_SETUP, Docker::Image::DEBIAN_STRETCH_APT_SETUP, Docker::Image::DEBIAN_STRETCH_FIX_SOURCES
Instance Method Summary
collapse
Methods inherited from Base
#gd_options, php_version, #platform_stereotype_tag, #write_in_provide_dir
#debian_stretch_apt_setup, #generator_version, #platform_stereotype_tag, #stereotype_tag
Instance Method Details
#apcu_install ⇒ String
31
32
33
|
# File 'lib/pd1_tools/php/docker_images/v5.rb', line 31
def apcu_install
APCU_INSTALL
end
|
#apt_setup ⇒ String
36
37
38
|
# File 'lib/pd1_tools/php/docker_images/v5.rb', line 36
def apt_setup
debian_stretch_apt_setup
end
|
#mcrypt_install ⇒ Object
45
46
47
|
# File 'lib/pd1_tools/php/docker_images/v5.rb', line 45
def mcrypt_install
MCRYPT_INSTALL
end
|
#php_dist_curl_args ⇒ String
41
42
43
|
# File 'lib/pd1_tools/php/docker_images/v5.rb', line 41
def php_dist_curl_args
"--insecure #{super}"
end
|
#xdebug_install ⇒ String
50
51
52
|
# File 'lib/pd1_tools/php/docker_images/v5.rb', line 50
def xdebug_install
XDEBUG_INSTALL
end
|