Git Product home page Git Product logo

Comments (7)

punkstar avatar punkstar commented on May 25, 2024

Is magento-permissions executable?

Are you able to run the following?

docker-compose run cli bash
magento-permissions

What happens when you run?

docker-compose run cli bash
/usr/local/bin/magento-permissions

from docker-magento2.

pbilinski avatar pbilinski commented on May 25, 2024

Yes, it's executable.

What's interesting -- there is no such file inside:

docker-compose run cli bash

Looks like it does not copy this script inside container :(

root@aaae0d9ee874:/# magento-
magento-command magento-installer

What's more, there is no error during building whole compose from scratch.

I attach my Dockerfile from 7.0-cli/ directory.

My Dockerfile

UPDATE: As you see -- I've also added some package below RUN apt-get-install. They are not available inside container too. Seems some "remote" dockerfile overrides my local Dockerfile?

from docker-magento2.

punkstar avatar punkstar commented on May 25, 2024

Are you running docker-compose build?

from docker-magento2.

punkstar avatar punkstar commented on May 25, 2024

What does your docker-compose.yml look like?

from docker-magento2.

pbilinski avatar pbilinski commented on May 25, 2024

Here is my: docker-compose.yml

No, I don't execute "docker-compose build".

from docker-magento2.

punkstar avatar punkstar commented on May 25, 2024

If you are using a local Dockerfile with docker-compose then you'll need to edit your docker-compose.yml file to build: instead of using image:. If you're editing a Dockerfile then you'll need to build that image before using it.

I recommend you come back to these images once you've covered the basics of using and building with docker (https://docs.docker.com/engine/quickstart/) and then docker-compose (https://docs.docker.com/compose/overview/). Please reserve issues on this project to issues with this project.

from docker-magento2.

pbilinski avatar pbilinski commented on May 25, 2024

Thanks a lot! Now everything is clear.

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.