Skip to content

Docker build fails #4

@jamiecoleman92

Description

@jamiecoleman92

So the docker build fails as the Open Liberty image has just changed in regards to what permissions are allowed inside the container. This simple change in the dockerfile will fix the build issue:
Just add "USER root" on the second line of the dockerfile as shown below:

FROM open-liberty as server-setup
USER root
COPY /target/mym2.zip /config/
......

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions