Modifying Dockerfile -- no result? #16
Comments
Is Are you able to run the following?
What happens when you run?
|
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- What's more, there is no error during building whole compose from scratch. I attach my Dockerfile from 7.0-cli/ directory. 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? |
Are you running |
What does your |
Here is my: docker-compose.yml No, I don't execute "docker-compose build". |
If you are using a local I recommend you come back to these images once you've covered the basics of using and building with |
Thanks a lot! Now everything is clear. |
Hi,
I want to add own script to "run cli".
So I've:
....
ADD bin/* /usr/local/bin/
added -> ADD bin/magento-permissions /usr/local/bin/magento-permissions
....
But after building from scratch (docker-compose run cli magento-installer, docker-compose up -d, docker-compose restart):
/usr/local/bin/docker-environment: line 49: exec: magento-permissions: not found
Could you help me: how to add own script to use inside "run cli"?
Thanks in advance,
The text was updated successfully, but these errors were encountered: