Class: Avmtrf1::Php::DockerImages::Base
Direct Known Subclasses
V5, V7
Constant Summary
collapse
- GD_OPTIONS =
%w[--with-gd --with-webp-dir --with-jpeg-dir --with-png-dir --with-zlib-dir
--with-xpm-dir --with-freetype-dir].freeze
- PLATFORM_STEREOTYPE_TAG =
'php'
Class Method Summary
collapse
Instance Method Summary
collapse
#generator_version, #stereotype_tag
Class Method Details
.php_version ⇒ Gem::Version
20
21
22
|
# File 'lib/avmtrf1/php/docker_images/base.rb', line 20
def php_version
const_get('PHP_VERSION')
end
|
Instance Method Details
#gd_options ⇒ Object
33
34
35
|
# File 'lib/avmtrf1/php/docker_images/base.rb', line 33
def gd_options
GD_OPTIONS.join(' ')
end
|
25
26
27
|
# File 'lib/avmtrf1/php/docker_images/base.rb', line 25
def platform_stereotype_tag
PLATFORM_STEREOTYPE_TAG
end
|
#write_in_provide_dir ⇒ Object
29
30
31
|
# File 'lib/avmtrf1/php/docker_images/base.rb', line 29
def write_in_provide_dir
::Avmtrf1::Php::DockerImages::Base.template.apply(self, provide_dir)
end
|