Skip to content

kernel docker images delete non-existent directory #74

Open
@NottyCode

Description

@NottyCode

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions