Skip to content

Commands need root permission in Dockerfile-build of the project using MicroProfile framework #27

Description

@EunKyung-Kim

Hi,

I remember this worked well at least 4 weeks ago. Since 2 weeks ago, webProfile7 docker image has been updated several times.

Anyway, I try to build the project of MicroProfile framework, but I meet the failure at the step for building the container image.

According to my log file, "mkdir -p /root/java" command failed with below error message. cannot create directory '/root': Permission denied

This command is one of Dockerfile-build.

Temporarily I added a command "USER root" to 2nd line in Dockerfile-build.
It looks like working well.

I think while originally generating Dockerfile-build this permission issue should be solved.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions