couchbase / docker

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

CBD-4825, CBD-4826, CBD-4866: SGW centos->ubuntu, non-root user, aarch64 builds #185

Closed udkyo closed 2 years ago

udkyo commented 2 years ago

This change only affects upcoming releases where Centos 7 will no longer be a supported platform.

It also removes some whitespace for consistency in generator function definitions.

udkyo commented 2 years ago

Pushed new commit to switch from root to couchbase for CBD-4826 too.

udkyo commented 2 years ago

Oops, didn't see you'd commented on this until pushing the latest commit - I've added the previous dockerfile back in to fix the problems you mention (+ add some multiarch bits to accommodate 3.0.3)

There are slight differences in the Centos template - namely the architecture check and the logs dir being created at build rather than runtime - but they shouldn't cause any problems, and obviously this wouldn't work as-is with DH autobuilds (although my understanding is that we could accomplish that with hooks if required)