summaryrefslogtreecommitdiffstats
path: root/gluster-client
Commit message (Collapse)AuthorAgeFilesLines
* fix bug when multiple shell commands are specified in RUNRaghavendra Talur2018-03-011-4/+5
| | | | | | | | | | | | | | | | | | | | | | | If RUN is followed by two commands only the return value of second determines whether RUN was successful or not. This may lead to cases where docker build succeeds even when it should not. For example RUN /bin/false; /bin/true would be considered a success. Important thing to consider is that all yum/dnf commands should perform clean in the same RUN operation if we wish to keep the container image size small. Running clean in a second RUN operation leads to bigger image size contrary to expectation because each operation leads to a layer in the image. With the above two points considered, I have replaced ";" with "&&" where necessary and split a single RUN operation to two or many operations in other places. Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
* Cleaning up RUN in dockerfileMohamed Ashiq Liyazudeen2017-05-251-5/+4
| | | | | | This reduces the image size as it reduces the number of intermediate layers. Signed-off-by: Mohamed Ashiq Liyazudeen <mliyazud@redhat.com>
* Cleanup for the Unit testsMohamed Ashiq Liyazudeen2017-05-081-4/+19
| | | | Signed-off-by: Mohamed Ashiq Liyazudeen <mliyazud@redhat.com>
* Gluster Client container Dockerfilehchiramm2016-10-281-0/+8
Signed-off-by: hchiramm <hchiramm@redhat.com>