You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Marc Boorshtein <mb...@gmail.com> on 2019/03/29 20:21:19 UTC

Existing ApacheDS containers?

All,

I need a container that I can spin up quickly that i can just feed an LDIF
file and be listening on 10636.  Has anyone containerized apacheds?  Can't
imagine its hard but I thought I'd see if anyone else tried it already.

Thanks
Marc

Re: Existing ApacheDS containers?

Posted by Emmanuel Lécharny <el...@gmail.com>.
On 30/03/2019 00:24, Marc Boorshtein wrote:
>
>     It generates a native binary and (according to doc) takes less
>     time to start. But more than that we don't need to install JRE inside
>     the container. Those are all at the moment appear to be good
>     things, but haven't tested these in a container yet.
>
>
> Benefits are clear for a serverless app, not sure if thats going to be 
> true for something like apacheds.  I'd be very interested to see if 
> there are any performance or size improvements.
One aspect that may be problematic is that, AFAIU, reflection is not 
allowed in Quarkus. ApacheDS Configuration loading uses reflection, same 
thing for part of the schema...


Re: Existing ApacheDS containers?

Posted by Marc Boorshtein <mb...@gmail.com>.
> It generates a native binary and (according to doc) takes less time to
> start. But more than that we don't need to install JRE inside
> the container. Those are all at the moment appear to be good things, but
> haven't tested these in a container yet.
>
>
Benefits are clear for a serverless app, not sure if thats going to be true
for something like apacheds.  I'd be very interested to see if there are
any performance or size improvements.

Re: Existing ApacheDS containers?

Posted by Kiran Ayyagari <ka...@apache.org>.
On Fri, Mar 29, 2019 at 10:03 PM Marc Boorshtein <mb...@gmail.com>
wrote:

>
>
>
> I did this last year, there wasn't anything special in it then but if I
>> have to do it again I will probably do it with https://quarkus.io/.
>>
>>>
> Interesting, why? Have you seen that apacheds benefits from it?
>
It generates a native binary and (according to doc) takes less time to
start. But more than that we don't need to install JRE inside
the container. Those are all at the moment appear to be good things, but
haven't tested these in a container yet.

Kiran

Re: Existing ApacheDS containers?

Posted by Marc Boorshtein <mb...@gmail.com>.
I did this last year, there wasn't anything special in it then but if I
> have to do it again I will probably do it with https://quarkus.io/.
>
>>
Interesting, why? Have you seen that apacheds benefits from it?




>>

Re: Existing ApacheDS containers?

Posted by Kiran Ayyagari <ka...@apache.org>.
On Fri, Mar 29, 2019 at 9:21 PM Marc Boorshtein <mb...@gmail.com>
wrote:

> All,
>
> I need a container that I can spin up quickly that i can just feed an LDIF
> file and be listening on 10636.  Has anyone containerized apacheds?  Can't
> imagine its hard but I thought I'd see if anyone else tried it already.
>
I did this last year, there wasn't anything special in it then but if I
have to do it again I will probably do it with https://quarkus.io/.

>
> Thanks
> Marc
>
Kiran

Re: Existing ApacheDS containers?

Posted by Emmanuel Lécharny <el...@gmail.com>.
On 30/03/2019 08:59, Stefan Seelmann wrote:
> On 3/29/19 9:21 PM, Marc Boorshtein wrote:
>> All,
>>
>> I need a container that I can spin up quickly that i can just feed an LDIF
>> file and be listening on 10636.  Has anyone containerized apacheds?  Can't
>> imagine its hard but I thought I'd see if anyone else tried it already.
> There is no official one Docker image yet.
>
> In our DockerHub org [1] only images used for building and integration
> testing are available. One of them contains an ApacheDS, Dockerfile can
> be found at [2].
>
> There are many other images named "apacheds" [3] from other users, some
> provide the source Dockerfile.
>
> I think it would be nice to provide an offical Docker image, maybe with
> the next release?


Absolutely !

Regarding the release, I'll post another mail


Emmanuel


Re: Existing ApacheDS containers?

Posted by Marc Boorshtein <mb...@gmail.com>.
>
>
>
> There are many other images named "apacheds" [3] from other users, some
> provide the source Dockerfile.
>
>
As a general rule I avoid images from sources I don't trust so I thought
I'd ask here first.



> I think it would be nice to provide an offical Docker image, maybe with
> the next release?
>
>
I can't imagine the dockerfile its self to be that hard.  We already have
the infrastructure in place to scan containers against the CVE databases
and trigger updates (as opposed to waiting for a new repo to be
available).  I'd be happy to let apacheds use that too with an "official"
image.

>
>
> https://github.com/apache/directory-fortress-core/blob/master/src/docker/apacheds-for-apache-fortress-tests/Dockerfile
> [3] https://hub.docker.com/search?q=apacheds&type=image


Thanks, this looks like a great start.  I need some custom schema too (I
need to be able to impersonate an Active Directory LDAPS interface from a
schema standpoint).

Re: Existing ApacheDS containers?

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.
On 3/29/19 9:21 PM, Marc Boorshtein wrote:
> All,
> 
> I need a container that I can spin up quickly that i can just feed an LDIF
> file and be listening on 10636.  Has anyone containerized apacheds?  Can't
> imagine its hard but I thought I'd see if anyone else tried it already.

There is no official one Docker image yet.

In our DockerHub org [1] only images used for building and integration
testing are available. One of them contains an ApacheDS, Dockerfile can
be found at [2].

There are many other images named "apacheds" [3] from other users, some
provide the source Dockerfile.

I think it would be nice to provide an offical Docker image, maybe with
the next release?

Kind Regards,
Stefan

[1] https://hub.docker.com/u/apachedirectory
[2]
https://github.com/apache/directory-fortress-core/blob/master/src/docker/apacheds-for-apache-fortress-tests/Dockerfile
[3] https://hub.docker.com/search?q=apacheds&type=image