I think you can override this limitation using |oc adm policy add-scc-to-user anyuid developer |
though it'd not be a recommended setting for production use... R. On 05/04/2018 09:45 AM, Galder Zamarreno wrote: > Hey Sebastian, > > I've been checking with Clement and this might be due to OpenShift not > allowing that base image for source builds. > > It seems like that to do S2I you need a base image with a certain user > (I think that's 1001) and neither the java/ nor the fabric8/ ones do > that. Clement mentioned redhat-openjdk-18/openjdk18-openshift images > might do that but those I think are behind VPN or require some for of > login. Clement also mentioned this might work with minishift, but I've > not tried yet. > > The alternative might be to switch that example to use binary builds > and adjust instructions for OpenShift and plain Kubernetes. > > Cheers, > Galder > > On Thu, May 3, 2018 at 6:49 PM Galder Zamarreno <gal...@redhat.com > <mailto:gal...@redhat.com>> wrote: > > Hey Sebastian, > > I'm trying to update simple tutorials to Infinispan 9.2.2.Final > but Kubernetes demo does not seem to be working. > > I've started OpenShift 3.7.2 and have updated FMP to 3.5.33 and > build fails. Error is: > > > error: build error: image "java:8-jre-alpine" must specify a > user that is numeric and within the range of allowed users > > Cheers, > Galder > > > > _______________________________________________ > infinispan-dev mailing list > infinispan-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/infinispan-dev -- Radim Vansa <rva...@redhat.com> JBoss Performance Team _______________________________________________ infinispan-dev mailing list infinispan-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/infinispan-dev