apache / couchdb-docker

Semi-official Apache CouchDB Docker images
https://github.com/apache/couchdb-docker
Apache License 2.0
263 stars 136 forks source link

UBI support #238

Closed coltonfreeman26 closed 1 year ago

coltonfreeman26 commented 1 year ago

Good day all, Do you know if there is any plan to update the UBI image you have to the latest release? Regardless of whether or not it is published to Docker Hub it is still useful when trying to build it out locally. I am running into issues trying to use the 3.3.1.rpm when basing off of UBI-8 and curious if some of the commands/scripts would be causing this.

willholley commented 1 year ago

@coltonfreeman26 there is an unmerged PR at https://github.com/apache/couchdb-docker/pull/222 that may be useful to you

coltonfreeman26 commented 1 year ago

Hello @willholley I appreciate the link to that. Do you know the reason behind using runit and not tini in this one? I also see that systemd could be an alternative. I know switching this would affect the entrypoint but just curious. Still running into issues but I think I got passed where I was. With our environment we are unable to enable repos because we build in an air gapped pipeline.

Do you know if I were to use tini and change the run and entrypoint from runit to tini something like - tini -- /opt/couchdb/bin/couchdb and tini -g -- chpst -u couchdb /opt/couchdb/bin/couchdb would that work?