This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: BlackEagle <[email protected]>
- Loading branch information
1 parent
0ece2c1
commit ae0ae50
Showing
6 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM dockerwest/php:8.0 | ||
|
||
COPY ./scripts / | ||
RUN /install.sh | ||
RUN rm /install* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
#docker pull dockerwest/php:8.0 | ||
|
||
docker build --no-cache -t dockerwest/php-magento2:8.0 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
; priority=80 | ||
opcache.enable_cli=1 | ||
opcache.memory_consumption=512 | ||
opcache.max_accelerated_files=100000 | ||
opcache.validate_timestamps=0 | ||
opcache.consistency_checks=0 | ||
opcache.save_comments=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
# install packages | ||
apt-get update | ||
|
||
extensions -i bcmath gd intl mbstring mysql readline redis soap sodium xsl amqp | ||
|
||
apt-get clean -y | ||
|
||
# magento needs a bit more memory than 256M | ||
sed -e 's/^\(memory_limit\).*/\1 = 1024M/' \ | ||
-i /etc/php/${DW_PHP_VERSION}/mods-available/custom.ini | ||
|
||
sed -e 's/\(max_nesting_level\).*/\1=1000/' \ | ||
-i /etc/php/${DW_PHP_VERSION}/mods-available/xdebug.ini | ||
|
||
# install magerun | ||
curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar | ||
chmod +x /usr/local/bin/magerun | ||
|
||
# update permissions to allow rootless operation | ||
/usr/local/bin/permissions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
( cd 7.2; ./build.sh ) | ||
( cd 7.3; ./build.sh ) | ||
( cd 7.4; ./build.sh ) | ||
( cd 8.0; ./build.sh ) |