We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30cfda6 commit a4c6409Copy full SHA for a4c6409
generate/generator/generate.go
@@ -362,12 +362,10 @@ func (variant DockerfileVariant) dockerBaseImage() string {
362
}
363
return "centos:centos7"
364
case ProductServer:
365
- // TODO: maybe for Couchbase 4.x, we can change this to Ubuntu 14.04?
366
- // See https://github.com/couchbase/docker/pull/28
367
- if strings.HasPrefix(variant.Version, "4") {
368
- return "ubuntu:14.04"
+ if strings.HasPrefix(variant.Version, "2") || strings.HasPrefix(variant.Version, "3") {
+ return "ubuntu:12.04"
369
370
- return "ubuntu:12.04"
+ return "ubuntu:14.04"
371
default:
372
panic("Unexpected product")
373
0 commit comments