This repository was archived by the owner on Jan 26, 2022. It is now read-only.
File tree 6 files changed +68
-0
lines changed
etc/php/7.4/mods-available
6 files changed +68
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,15 @@ prepare:7.3:
50
50
only :
51
51
- master
52
52
53
+ prepare:7.4 :
54
+ stage : prepare
55
+ tags :
56
+ - dockerwest
57
+ script :
58
+ - docker pull dockerwest/php:7.4
59
+ only :
60
+ - master
61
+
53
62
build:5.6 :
54
63
stage : build
55
64
tags :
@@ -95,6 +104,15 @@ build:7.3:
95
104
only :
96
105
- master
97
106
107
+ build:7.4 :
108
+ stage : build
109
+ tags :
110
+ - dockerwest
111
+ script :
112
+ - cd 7.4; ./build.sh
113
+ only :
114
+ - master
115
+
98
116
release:5.6 :
99
117
stage : release
100
118
tags :
@@ -139,3 +157,12 @@ release:7.3:
139
157
- docker push dockerwest/php-magento2:7.3
140
158
only :
141
159
- master
160
+
161
+ release:7.4 :
162
+ stage : release
163
+ tags :
164
+ - dockerwest
165
+ script :
166
+ - docker push dockerwest/php-magento2:7.4
167
+ only :
168
+ - master
Original file line number Diff line number Diff line change
1
+ FROM dockerwest/php:7.4
2
+
3
+ COPY ./scripts /
4
+ RUN /install.sh
5
+ RUN rm /install*
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ # docker pull dockerwest/php:7.4
3
+
4
+ docker build --no-cache -t dockerwest/php-magento2:7.4 .
Original file line number Diff line number Diff line change
1
+ ; priority=80
2
+ opcache.enable_cli =1
3
+ opcache.memory_consumption =512
4
+ opcache.max_accelerated_files =100000
5
+ opcache.validate_timestamps =0
6
+ opcache.consistency_checks =0
7
+ opcache.save_comments =1
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ set -e
4
+
5
+ # install packages
6
+ apt-get update
7
+
8
+ extensions -i bcmath gd intl mbstring mysql readline redis soap sodium xsl amqp
9
+
10
+ apt-get clean -y
11
+
12
+ # magento needs a bit more memory than 256M
13
+ sed -e ' s/^\(memory_limit\).*/\1 = 1024M/' \
14
+ -i /etc/php/${DW_PHP_VERSION} /mods-available/custom.ini
15
+
16
+ sed -e ' s/\(max_nesting_level\).*/\1=1000/' \
17
+ -i /etc/php/${DW_PHP_VERSION} /mods-available/xdebug.ini
18
+
19
+ # install magerun
20
+ curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar
21
+ chmod +x /usr/local/bin/magerun
22
+
23
+ # update permissions to allow rootless operation
24
+ /usr/local/bin/permissions
Original file line number Diff line number Diff line change 5
5
( cd 7.1; ./build.sh )
6
6
( cd 7.2; ./build.sh )
7
7
( cd 7.3; ./build.sh )
8
+ ( cd 7.4; ./build.sh )
You can’t perform that action at this time.
0 commit comments