DockerBuild does not build to `latest`
atomfrede opened this issue · comments
Frederik Hahne commented
Overview of the issue
When using e.g. ./gradlew dockerBuild
the resulting image is build only to app:VERSION
.
The created docker-compose configurations expect it as latest
version.
Reproduce the error
Create an application, do a docker build and try to start the generated app.yml via docker-compose
Related issues
None.
Suggest a Fix
Just for gradle, e.g.
dockerBuild {
images = ["<%= baseName %>:$project.version", "<%= baseName %>:latest"]
}
- Checking this box is mandatory (this is just to show you read everything)