ci.docker icon indicating copy to clipboard operation
ci.docker copied to clipboard

kernel docker images delete non-existent directory

Open NottyCode opened this issue 6 years ago • 0 comments

The kernel docker files contain this:

# Configure WebSphere Liberty
RUN /opt/ol/wlp/bin/server create \
    && rm -rf $WLP_OUTPUT_DIR/.classCache /output/workarea

the problem with this is that /output/workarea doesn't exist until a later layer in the docker file. This isn't a major issue except that it probably should have been this:

# Configure WebSphere Liberty
RUN /opt/ol/wlp/bin/server create \
    && rm -rf $WLP_OUTPUT_DIR/.classCache $WLP_OUTPUT_DIR/defaultServer/workarea

which would have removed the workarea folder created by the server create step reducing (slightly) the size of the layer.

NottyCode avatar May 08 '19 19:05 NottyCode