unknowntpo opened a new issue, #7101:
URL: https://github.com/apache/gravitino/issues/7101
### What would you like to be improved?
In my previous PR #6848, ranger packages are built with docker compose, and
this will fail because of permission error.
```
#19 [ranger-build] exporting to image
#19 exporting layers
#19 exporting layers 2.2s done
#19 writing image
sha256:48a72650eff8944e83665179802cc87b82f6eaeb1198082b6dafcd1c0130d70c done
#19 naming to docker.io/library/ranger-build done
Network rangernw Creating
#19 DONE 2.2s
Network rangernw Created
Container ranger-base Creating
Container ranger-base Created
Container ranger-build Creating
Container ranger-build Created
Attaching to ranger-base, ranger-build
ranger-base exited with code 0
ranger-build | Building release-ranger-2.4.0 branch from
https://github.com/apache/ranger.git
ranger-build | Cloning into 'ranger'...
ranger-build | Note: switching to
'50ad9c19e62f5aa6b2888b17437aa6fb1e2c0a36'.
ranger-build |
ranger-build | You are in 'detached HEAD' state. You can look around, make
experimental
ranger-build | changes and commit them, and you can discard any commits you
make in this
ranger-build | state without impacting any branches by switching back to a
branch.
ranger-build |
ranger-build | If you want to create a new branch to retain commits you
create, you may
ranger-build | do so (now or later) by using -c with the switch command.
Example:
ranger-build |
ranger-build | git switch -c <new-branch-name>
ranger-build |
ranger-build | Or undo this operation with:
ranger-build |
ranger-build | git switch -
ranger-build |
ranger-build | Turn off this advice by setting config variable
advice.detachedHead to false
ranger-build |
ranger-build | [ERROR] Could not create local repository at
/home/ranger/.m2/repository -> [Help 1]
ranger-build | [ERROR]
ranger-build | [ERROR] To see the full stack trace of the errors, re-run
Maven with the -e switch.
ranger-build | [ERROR] Re-run Maven using the -X switch to enable full
debug logging.
ranger-build | [ERROR]
ranger-build | [ERROR] For more information about the errors and possible
solutions, please read the following articles:
ranger-build | [ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositoryNotAccessibleException
ranger-build | mv: cannot stat 'target/version': No such file or directory
ranger-build | mv: cannot stat 'target/ranger-*': No such file or directory
```
### How should we improve?
Make building ranger-related docker image works again.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]