-
Notifications
You must be signed in to change notification settings - Fork 695
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
The build fails when --inject parameter is used #1006
Comments
@ochaloup which version of |
@adambkaplan hi. I'm on Fedora 30, the Docker version is 1.13.1, build 47e2230. My colleague @luck3y tried the same and had got the same troublesome experience with the command (just saying that I'm not alone with this :) but I'm not sure what Docker version he uses). |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I used the
s2i
--inject
parameter and the build fails with following error:truncate: cannot open '/tmp/rm-injections' for writing: Permission denied
The "relate/end" part of the log with
--log-level=5
I do run with JBoss EAP image where I build a
mvn
java application on top. The app is from here: https://github.com/jmesnil/wildfly-operator-quickstartThe command I use is
The
/tmp/repository
resides on my local machine and it contains the maven artifacts I want to inject to thes2i
build.The
/opt/jboss/container/wildfly/s2i/galleon/galleon-m2-repository/
exists in the JBoss EAP image.The
/tmp
directory seems to have right permissionsMy s2i version
If I run the same without the
--inject
being used then all works fine. I simulated the "injection" of maven artifacts with the.s2i/bin/assemble
script and that worked fine as well.Could that be a misconfiguration or a bug in s2i?
The text was updated successfully, but these errors were encountered: