Dockerfile for building mleap-serving?
Hi, we would like to build mleap-serving images using a different base image (RedHat UBI-based rather than Ubuntu), and so were wondering if the Dockerfile and any other build logic you use to produce those currently published to docker hub could be included in the repo?
If not, maybe you could confirm that the advice given in this related previous issue is still correct: https://github.com/combust/mleap/issues/134
Thanks in advance!
Hey @njhill ,
Thanks for your question. Currently, we use this DockerConfig (https://github.com/combust/mleap/blob/master/project/DockerConfig.scala) and the Scala/SBT Docker Plugin (https://github.com/combust/mleap/blob/master/mleap-serving/build.sbt#L3) to publish the MLeap Docker images.
There are two possible ways:
- you could check out the MLeap code, update the current base image, build the MLeap image and publish it to your internal Docker repo
- you could see if we can have more than one base image defined for the sbt docker plugin, or if we can update the build to run the plugin for each of the base images.
Hope this makes sense, let me know if you need help with the second approach, or if you run into issues with the first.
Thanks very much for those details @ancasarb