-
-
Notifications
You must be signed in to change notification settings - Fork 676
Open
Labels
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem?
Another thing I noticed: if the image doesn't have a specific ddev
version in its tag, it won't be rebuilt later.
So if users update ddev
and use something like ddev/ddev-solr
, the already built Solr image won't be rebuilt with the new ddev
.
And ddev delete images
doesn't remove deleted add-on image.
Describe your solution
This could be solved by always setting the image:
field with proper tag identifier in fixComposeYaml()
.
Tag Identifier could be some new variable in versionconstants.go
or we can rely on the WebTag
.
Describe alternatives
Add-ons can set the image:
on their own and use $DDEV_VERSION
:
services:
solr:
image: ddev-solr:${DDEV_VERSION}-built
build:
...
But I don't think that users on DDEV HEAD will be happy about it (because $DDEV_VERSION
will change all the time).
Additional context
No response
rfay and rpkoller