Closed guimou closed 5 years ago
I answered myself... With a strategy change that works perfectly. I leave this here for reference.
"source": { "type": "Git", "git": { "uri": "https://github.com/jupyter-on-openshift/jupyter-notebooks", "ref": "master" }, "contextDir": "tensorflow-notebook" }, "strategy": { "type": "Docker", "dockerStrategy": { "from": { "kind": "ImageStreamTag", "name": "s2i-minimal-notebook-s3:3.6" }, "dockerfilePath": "Dockerfile-py36" } },
Hi, I know how to customize the images to add Python packages, or modify the assemble script. But I'd like to install packages such as Graphviz. I can't do it from assemble with a yum install as it does not run as root. I can modify the Dockerfile-py35 or 36 that are in the repo, but what's next? Do I have to change my buildstrategy in the build-configs from Source to Docker and then point to the right file? Is that the right way? Thanks, Guillaume.