hi
On 4/14/2021 3:33 AM, Dr. Hans-Peter Störr wrote:
Hi!
I'm trying to run our Sling-application from a JAR that embeds a feature
archive without it needing any network access / an existing maven repository.
So my first try is to use the
https://github.com/apache/sling-org-apache-sling-kickstart project for this,
which already includes a feature archive with a version of Sling Starter 12. So
I was expecting that
it seems to be easier to test such issues with the feature launcher and
the sling-starter [1] as the kickstarter uses the feature launcher and
the starter project creates a set of far files. I also noticed it looks
like there will be a docker image for the feature launcher soon [2].
I do however not understand why the feature launcher would copy files
from the far file into the local .m2 repository (why not mount the far
file as a repository) as this makes the docker images unnecessary bigger
if you need a sling instance in the docker image that has been started
once.
Ruben
[1] https://github.com/apache/sling-org-apache-sling-starter
[2]
https://github.com/apache/sling-org-apache-sling-feature-launcher/tree/master/src/main/docker