Comments (11)
It is not irrelevant, there were issues with the previous path.
from docker.
I'm guessing you mean #13. Makes sense, it's unfortunate this failed without any warning or anything.
Closing, thanks.
from docker.
I can understand this was an inconvenient change.
I believe we should add some thorough documentation regarding how to use Composer in CI/CD flows. While our image makes it very simple to quickly run Composer anywhere, doing it properly actually would lean more towards creating your own image and making use of the new multistage options Docker now offers. See #22 also.
from docker.
Might consider emitting a warning if the container can see the cache folder is not inside a non-overlay mount point?
from docker.
That is not desirable, since generally there is no need to have the cache folder inside of a mount point.
from docker.
I'm talking from within the container. For a container, mount point = volume.
Meaning: if you know $COMPOSER_ROOT/cache
doesn't resolve to a mounted volume, you're writing cache inside the container which basically means you're not using cache at all, as the container's lifespan is one command run long.
from docker.
Yes, and since this is the default behaviour, we are not going to throw warnings about this.
from docker.
If Composer's default behaviour is not to use cache, not throwing warnings about not using cache from this image seems reasonable, didn't know it was the default.
from docker.
You are confusing Composer's default behaviour and the default use-case this image is build for. They are entirely separate things.
The default use-case for this image is single-run throw-away commands.
from docker.
It might be crystal clear to a maintainer, but to a average user this image might be interpreted like "Composer in a box", in which case Composer (and its behaviour/defaults/etc) is the product, Docker image is just the delivery method. This point goes further by the fact the image version is exactly equal to the Composer version it's packaging.
I'd expect the image to behave exactly like Composer itself does, but that's my opinion, you're the one putting in the work. 👍 Nvm then, thanks for your time.
from docker.
I think that the average user understands how Docker works. Also, this is where documentation already provides enough information.
from docker.
Related Issues (20)
- Documentation incorrect for multi-stage builds HOT 1
- New Composer tag: 2.6.0
- New Composer tag: 2.6.1
- New Composer tag: 2.6.2
- Tags missing on Docker hub HOT 3
- New Composer tag: 2.6.3
- New Composer tag: 2.2.22
- New Composer tag: 1.10.27
- New Composer tag: 2.6.4
- New Composer tag: 2.6.5
- getting php dependency on composer image HOT 1
- Different container images pushed under the same tag HOT 2
- New Composer tag: 2.6.6
- Composer 2.6 with PHP 8.3.0 difficulty building gd extension HOT 1
- New Composer tag: 2.2.23
- New Composer tag: 2.7.0 HOT 3
- New Composer tag: 2.7.1
- Composer 2.7.* missing in hub.docker.com HOT 2
- New Composer tag: 2.7.2
- Label `org.opencontainers.image.source` HOT 3
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.