fabric8io-attic / base-images Goto Github PK
View Code? Open in Web Editor NEWDocker base images
License: Apache License 2.0
Docker base images
License: Apache License 2.0
Right now we don't include agent bond in centos images, I guess due to productisation issues? We should now include agent bond so we get Prometheus metrics regardless of base image used.
For the STI images using Maven, it should be possible to specify a settings.xml. The easies way to do so is to pick it up from the github repo from a well known location (e.g. .m2/settings.xml
). Alternatively for the most important configs simple environment equivalents should exist:
MAVEN_MIRROR
: Specification of an Maven repository mirror for central.These environments variables should then be used in the assemble
scripts when doing the maven build.
Hi,
I'm seeing the following error message when trying to use sti-java-centos7
image on OSE v3.0.1.900
I0909 04:04:12.435964 1 sti.go:74] The value of ALLOWED_UIDS is [1-]
I0909 04:04:12.524584 1 docker.go:228] Pulling image fabric8/sti-java-centos7:latest
I0909 04:04:48.449198 1 sti.go:96] Creating a new S2I builder with build config: "Builder Image:\t\tfabric8/sti-java-centos7:latest\nSource:\t\t\thttp://gitlab.xpaasqe.redhat.com/ose3/camel.git\nOutput Image Tag:\t172.30.132.177:5000/dsimansk/jms-quickstart-image:latest\nEnvironment:\t\tOPENSHIFT_BUILD_NAMESPACE=dsimansk,OPENSHIFT_BUILD_SOURCE=http://gitlab.xpaasqe.redhat.com/ose3/camel.git,OUTPUT_DIR=/opt/jboss/source/jms-quickstart/target/,MAVEN_ARGS=package -pl jms-quickstart -am dependency:copy-dependencies -DskipTests -e,OPENSHIFT_BUILD_NAME=jms-quickstart-build-1\nIncremental Build:\tdisabled\nRemove Old Build:\tdisabled\nForce Pull:\t\tdisabled\nQuiet:\t\t\tdisabled\nLayered Build:\t\tdisabled\nDocker Endpoint:\tunix:///var/run/docker.sock\n"
I0909 04:04:48.462561 1 docker.go:211] Image fabric8/sti-java-centos7:latest available locally
F0909 04:04:48.515872 1 builder.go:47] Build error: image "fabric8/sti-java-centos7:latest" must specify a user that is numeric and within the range of allowed users
There's a reported issue in docker ( moby/moby#15020 ) about "growing reported docker container virtual memory size with java processes". The proposed solution is that a env var MALLOC_ARENA_MAX=4 could fix it. The explanation is here: https://siddhesh.in/posts/malloc-per-thread-arenas-in-glibc.html
If this is true, the base openjdk image could set this env var as default.
there is some collision when jolokia is enabled and trying to use wildfly swarm:
... 11 more
Caused by: java.lang.IllegalStateException: WFLYLOG0078: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager"
at org.jboss.as.logging.LoggingExtension.initialize(LoggingExtension.java:147)
at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:131)
at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:104)
at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:144)
at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Apr 04, 2016 10:44:55 PM org.jboss.as.server.ServerService boot
FATAL: WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.wildfly.swarm.bootstrap.Main.invoke(Main.java:84)
at org.wildfly.swarm.bootstrap.Main.run(Main.java:48)
at org.wildfly.swarm.bootstrap.Main.main(Main.java:43)
Caused by: java.util.concurrent.ExecutionException: Operation failed
at org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74)
at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268)
at org.jboss.as.server.SelfContainedContainer.start(SelfContainedContainer.java:113)
at org.wildfly.swarm.container.runtime.RuntimeServer.start(RuntimeServer.java:216)
at org.wildfly.swarm.container.Container.start(Container.java:260)
at org.wildfly.swarm.Swarm.simpleMain(Swarm.java:72)
at org.wildfly.swarm.Swarm.main(Swarm.java:65)
... 7 more
Caused by: java.lang.Exception: WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
at org.jboss.as.server.BootstrapListener.bootFailure(BootstrapListener.java:87)
at org.jboss.as.server.ServerService.boot(ServerService.java:384)
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.