scality / zenko-cosbench

Docker image and Helm Chart for Cosbench, as deployed in Zenko https://zenko.io
Apache License 2.0
5 stars 2 forks source link

Cosbench image on OpenShift #13

Open aceeric opened 4 years ago

aceeric commented 4 years ago

Folks - the Cosbench image doesn't run easily under OpenShift. So we have our own image that extends yours:

FROM zenko/zenko-cosbench:0.0.6

RUN mkdir /home/zenko/cosbench/log && \
    chgrp -R 0 /home/zenko/cosbench/log /home/zenko/cosbench/conf && \
    chmod -R g+w /home/zenko/cosbench/log /home/zenko/cosbench/conf;

Then we replace the image refs in the various manifests. Then the Java can write to the directories it expects to be able to write to. Wonder if you'd consider adding this to your Docker file so others can use your image out of the box in native Docker containers as well as OpenShift containers.