-
Notifications
You must be signed in to change notification settings - Fork 99
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
OpenShift start build failing expecting a numeric user value #46
Comments
These images are not s2i compatible. As Alpine's jre has the smallest footprint (just jre) and overall image size, I found the following way to run the image:
The resultant image works with OpenShift's s2i. |
Why don't you just use https://github.com/fabric8io-images/s2i which is the S2I Java Builder image, whereas this image is meant to be as base images which you can tune as you like (e.e. setting an numeric UID) ? |
I was looking for an Alpine base, because of the smaller size. The S2I section doesn't has one. I came across this one and it is running pretty sleek and good with the S2I labels and modifications. Could you please include an S2I compatible Alpine one, as that would be really nice to have? Also, on a different note: |
This image does not contain and will never contain any S2I scripts. Feel free to open an issue over there at https://github.com/fabric8io-images/s2i for an alpine based image. Thanks for the heads up wrt/ the updates on the latest JDK. Happy to take PRs to improve the scripts. |
I have sent the PR to merge. |
On OpenShift build (binary), the images are generating the following error:
'must specify a user that is numeric and within the range of allowed users'
while the images from:
https://hub.docker.com/r/fabric8/s2i-java
are working fine.
The text was updated successfully, but these errors were encountered: