avmtrf1-tools 0.25.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0fc536ae35fea31a81dcf588d028a691b22ef255652395556e9d5df4b18f9a86
|
|
4
|
+
data.tar.gz: fe45a68ece7117513a30b34c9f52b842339a916b4f5d7c2aa4ab6632b4ee0762
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3bc133b27c48f0926c2b7afbc096313e5658f58a04bae3b32f9d9e9f1798a0463ecae8fcfab9f3a6a489f48a6675cfae2878a4f242798cbfcafcff0c283f4a61
|
|
7
|
+
data.tar.gz: 790921a5e68cc1731ddbe2f79569a983543b2d4f3db2a96e2a2d643004610f2aa90bc030bcd24a15bfa9bb66983afeb5f389676f17bb0bb5493aea1f841c7bb2
|
|
@@ -16,6 +16,9 @@ module Avmtrf1
|
|
|
16
16
|
RUN docker-php-ext-install mcrypt
|
|
17
17
|
DOCKERFILE
|
|
18
18
|
|
|
19
|
+
XDEBUG_PECL_PACKAGE_LESSER_7 = 'xdebug-2.5.5'
|
|
20
|
+
XDEBUG_PECL_PACKAGE_GREATER_EQUAL = 'xdebug'
|
|
21
|
+
|
|
19
22
|
enable_simple_cache
|
|
20
23
|
|
|
21
24
|
attr_reader :php_version
|
|
@@ -40,6 +43,14 @@ module Avmtrf1
|
|
|
40
43
|
MCRYPT_INSTALL_LESSER_7_2
|
|
41
44
|
end
|
|
42
45
|
end
|
|
46
|
+
|
|
47
|
+
def xdebug_pecl_package
|
|
48
|
+
if ::Gem::Version.new(php_version) < ::Gem::Version.new('7')
|
|
49
|
+
XDEBUG_PECL_PACKAGE_LESSER_7
|
|
50
|
+
else
|
|
51
|
+
XDEBUG_PECL_PACKAGE_GREATER_EQUAL
|
|
52
|
+
end
|
|
53
|
+
end
|
|
43
54
|
end
|
|
44
55
|
end
|
|
45
56
|
end
|
|
@@ -44,6 +44,10 @@ RUN docker-php-ext-install snmp
|
|
|
44
44
|
RUN apt-get install -y libxml2-dev
|
|
45
45
|
RUN docker-php-ext-install soap
|
|
46
46
|
|
|
47
|
+
# Extensão PHP "xdebug"
|
|
48
|
+
RUN pecl install %%XDEBUG_PECL_PACKAGE%%
|
|
49
|
+
RUN docker-php-ext-enable xdebug
|
|
50
|
+
|
|
47
51
|
# Extensão PHP "xsl"
|
|
48
52
|
RUN apt-get install -y libxslt1-dev
|
|
49
53
|
RUN docker-php-ext-install xsl
|