Comments (1)
So I guess I figured it out. The file can be used as an alternate yml file for the docker-compose build command to create fresh container images from scratch based on the docker files generated by the templates.
To do a new build of all of the Docker Images and load them localy into you Docker image store.
PS D:\Github\meanbee\docker-magento2> docker-compose -f docker-compose-build.yml build
So when I alter the src/Dockerfile to add zip,unzip to the $packages array (this is to try to address the unzip error I see when running magento-install), I can then use:
To rebuild the Docker files from the Templates
docker run --rm -it -v ${pwd}:/src php:7.3 php /src/builder.php
This outputs:
PS D:\Github\meanbee\docker-magento2> docker run --rm -it -v ${pwd}:/src php:7.3 php /src/builder.php
Building '7.0-cli'...
Building '7.0-fpm'...
Building '7.1-cli'...
Building '7.1-fpm'...
Building '7.2-cli'...
Building '7.2-fpm'...
Building '7.3-cli'...
Building '7.3-fpm'...
Building '7.4-cli'...
Building '7.4-fpm'...
PS D:\Github\meanbee\docker-magento2>
And I then can rebuild the images and I should then have the zip and unzip apps loaded when they run. I had tried just editing the docker files under the php dirs, but that did not seem to have any effect. I guess that is because the install would use the pre build images pulled down from docker hub. I guess my next step will be to make my own docker-compose.yml that can point to my own updated images.
I'm I on the right track here?
from docker-magento2.
Related Issues (20)
- It's great HOT 1
- PCNTL Sould be installed by default
- Database issues HOT 2
- generation folder is not in $MAGENTO_ROOT/var/ but $MAGENTO_ROOT/ HOT 2
- Extension name format for magento-extension-installer HOT 1
- [WINDOWS] The filesystem probably does not support all permission bits. If this is a FATfilesystem, you should set the "fat" option to true
- [WINDOWS] The filesystem probably does not support all permission bits. If this is a FATfilesystem, you should set the "fat" option to true
- theme install issues running CLI magento-commands
- class not found: MagentoHackathon\Composer\Magento\Plugin
- Rebuild PHP image HOT 2
- After Several days of use page load increases to 5+ minutes.
- What is the url for visiting the website? HOT 1
- Why there are no releases? HOT 1
- Missing extension ext-sockets for Magento 2.3.4 HOT 4
- SQLSTATE[HY000] [1045] Access denied for user HOT 3
- Could not delete /var/www/magento/vendor/composer/97287359/view/frontend/web/swagger-ui/js
- Magento 2.4 support ? HOT 1
- no access through localhost HOT 3
- Could not delete /var/www/magento/: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-magento2.