-
Notifications
You must be signed in to change notification settings - Fork 145
Dockerfile based on the RedHat UBI #146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Installs CouchDB 2.3.1 via the official rpm. To build: ``` $ cd 2.3.1 $ docker build . -f ubi7/Dockerfile ```
Hi Will! Thanks for the port. I don't personally want to have to maintain 2x Dockerfiles per release like this, nor do I want to change the default distribution to a RH-derived one, but if you're signing up to perpetually support this style of Dockerfile for the future for every release, you have my +1. (Note: I'm saying that if you sign up for maintaining this, this could live at Docker Hub's On the TODOs:
|
@@ -0,0 +1,6 @@ | |||
[bintray-apache-couchdb-rpm] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is going to land, please move this to the ubi7/
directory. If it's going to be shared across multiple releases, that could be a new top-level directory if you wanted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @wohali - this is done with the latest commit. The slightly awkward thing (as per the first commit) is that the docker context needs to be the 2.3.1
directory rather than the directory containing the Dockerfile
, as Docker doesn't allow importing files from a parent directory.
An option might be cp the file (and .gitignore it) via build.sh prior to
starting the build.
|
Move the ubi-based Dockerfile into its own top level folder, similar to the couchperuser variant. This makes integration with existing build scripts/processes simpler though means a bit of duplication of config files between the different base images.
Sure - I'm happy to be responsible for this for the foreseeable future. I've re-jigged the directory structure so that building the I think this is good to go, pending the GPG issue. |
closing in favour of #150 |
Overview
This is a port of the existing debian-based Dockerfile to the recently announced RedHat Universal Base Image, which allows 3rd parties to distribute RHEL-derived containers. Mostly this was just an experiment to see whether a port was straightforward (given IBM's obvious interest in making sure CouchDB plays nicely in that environment), but if there's interest in publishing it alongside the existing CouchDB Docker images, I will continue to work on it and see how much it can be slimmed down / simplified.
Testing recommendations
To build from within the
2.3.1
directory:Checklist