Git Product home page Git Product logo

Comments (1)

MantisMan13 avatar MantisMan13 commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.