wise-coders/mongodb-jdbc-driver

Supply tar distribution

Closed this issue · 4 comments

Any chance we can get the jars in a tar distribution as well?

The reason being is that I want to gain access to it in this docker image using a startup script.

Weirdly tar is available as a tool, but unzip isn't. While yum exists, sudo doesn't so I am unable to download them.

I am aware I can create my own Dockerfile where this wouldn't be an issue as I'd use this as a base image, but I'm trying to avoid that.

The reason I was asking for a tar distribution is simply that it's the easiest way it will work with the tools that I have available on the Docker image startup script (tar and not unzip, unable to use yum). Yes I can transform the tar to zip, but I would have to host the new tar file so that it would be available to the startup script. (EDIT: not true, can transform using python in the start up script)

However, I have created a Dockerfile that does all this for me, but it's just not ideal as I want to deploy this on OpenShift. So I will have either need a git repo to build from source or build the new Dockerfile and host on a private docker registry.

I can for sure work around this, so I'm okay for this to be closed if it's not going to happen.

That'll teach me for not reading your reply properly. Just used your first point using Python and managed to get it working. Thanks for helping and sorry for not reading it properly the first time!