Class: Avmtrf1::Php::DockerImages::V5

Inherits:
Base show all
Defined in:
lib/avmtrf1/php/docker_images/v5.rb

Constant Summary collapse

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

Constants inherited from Docker::Image

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

Methods inherited from Docker::Image

#debian_stretch_apt_setup, #generator_version, #platform_stereotype_tag, #stereotype_tag

Instance Method Details

#apt_setupString

Returns:

  • (String)


27
28
29
# File 'lib/avmtrf1/php/docker_images/v5.rb', line 27

def apt_setup
  debian_stretch_apt_setup
end

#mcrypt_installObject



36
37
38
# File 'lib/avmtrf1/php/docker_images/v5.rb', line 36

def mcrypt_install
  MCRYPT_INSTALL
end

#php_dist_curl_argsString

Returns:

  • (String)


32
33
34
# File 'lib/avmtrf1/php/docker_images/v5.rb', line 32

def php_dist_curl_args
  "--insecure #{super}"
end

#xdebug_installString

Returns:

  • (String)


41
42
43
# File 'lib/avmtrf1/php/docker_images/v5.rb', line 41

def xdebug_install
  XDEBUG_INSTALL
end