Dockerizing ctakes as a build was useful at one time for sure.

If running as a microservice remember the size of the image is problematic ; 
you don't want it on lots of different nodes if using something like kubernetes.

Also remember to make sure you run with Xmx args so that cgroups done constrain 
the jvm memory guess, otherwise you'll get OOME errors.

> On Apr 23, 2017, at 4:38 AM, Oleg Tikhonov <o...@apache.org> wrote:
> 
> I've tried to create service from
> https://hub.docker.com/r/llin/docker_apache_ctakes/~/dockerfile/, without
> success.
> 
> However Docker file looks as follows:
> 
> FROM java:7
> ADD http://mirror.softaculous.com/apache/ctakes/ctakes-3.2.2/apache-ctakes-
> 3.2.2-bin.tar.gz
> ADD https://storage.googleapis.com/google-code-archive-downloads/v2/
> code.google.com/ytex/ctakes-ytex-lib-3.1.2-SNAPSHOT.zip
> RUN tar -xzf apache-ctakes-3.2.2-bin.tar.gz
> RUN ln -s /apache-ctakes-3.2.2 /apache-ctakes
> RUN mkdir temp
> RUN unzip ctakes-ytex-lib-3.1.2-SNAPSHOT.zip -d temp/
> RUN cp -a temp/lib/. /apache-ctakes/lib/
> RUN rm apache-ctakes-3.2.2-bin.tar.gz
> RUN rm ctakes-ytex-lib-3.1.2-SNAPSHOT.zip
> RUN rm -r temp
> 
> Hope it helps.
> 
> 
> 
> 
>> On Sun, Apr 23, 2017 at 8:00 AM, Oleg Tikhonov <o...@apache.org> wrote:
>> 
>> Here is an output
>> 
>> *tmills/ctakes-as*                      cTAKES and UIMA-AS binaries with
>> a few scr...   0
>> *jayunit100/ctakes-example-image-mvn*
>>                                           0
>> *llin/docker_apache_ctakes  *           Docker image for apache
>> ctakes                  0                    [OK]
>> 
>> 0 - means stars/rating
>> OK - means, automated.
>> 
>> 
>> 
>> 
>> 
>>> On Sun, Apr 23, 2017 at 7:50 AM, Oleg Tikhonov <o...@apache.org> wrote:
>>> 
>>> Hi,
>>> did you tried:
>>> docker search ctakes ?
>>> 
>>> If any body did that, and put in the repository, you could have see it.
>>> 
>>> Oleg
>>> 
>>> On Sun, Apr 23, 2017 at 1:58 AM, John Travis Green <
>>> john.travis.gr...@gmail.com> wrote:
>>> 
>>>> Has anyone dockerized ctakes? If so do you mind sending the Dockerfile,
>>>> thanks! John Green
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>> 

Reply via email to