Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build fails #4

Open
jamiecoleman92 opened this issue Apr 10, 2019 · 0 comments
Open

Docker build fails #4

jamiecoleman92 opened this issue Apr 10, 2019 · 0 comments

Comments

@jamiecoleman92
Copy link

jamiecoleman92 commented Apr 10, 2019

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/
......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant