couchbase / docker

Dockerfiles and configuration scripts for the Docker Hub Official Couchbase images
142 stars 154 forks source link

CBD-4603: Tweak generation to allow building from a different version #171

Closed ceejatec closed 2 years ago

ceejatec commented 2 years ago

Introduced DockerfileVariant.TargetVersion, which is the name of the directory under enterprise/PRODUCT. This will generally be the same as Version, but occasionally we must build the Docker image with version X from a released product with a slightly different version.

Also simplified generateVersions() to make it easier to add in specific exception cases.

mhocouchbase commented 2 years ago

looks reasonable to me.