jboss-fuse / jboss-fuse-docker

Creates a docker image for JBoss Fuse
34 stars 57 forks source link

Configure karaf to store its tmp and bundle cache outside of the data dir #2

Closed chirino closed 9 years ago

chirino commented 9 years ago

That way when a new docker instance starts up against an existing data volume, it picks up any bundle updates in the base image.

gnodet commented 9 years ago

The osgi cache is controlled using the org.osgi.framework.storage property which can be set in etc/config.properties. If not set, it defaults to ${kara.data}/cache.

The temp dir is configured in the shell scripts that launch the JVM using -Djava.io.tmpdir="$KARAF_DATA/tmp".