You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Alex Soto <as...@gmail.com> on 2015/06/18 11:03:32 UTC

Apache TomEE official image

Hi mates I have been working on creating a TomEE image in Docker.
I am closely to be able to release an Apache TomEE official repository on
docker hub, but I prefer you take a look first.

First of all I have decided to change from official openjdk image which is
based on debian, to official Alpine image. This change is pretty simple,
the Alpine docker image is a light docker image (only 5MB) and following
the philosophy of TomEE of light yet powerful distribution, I think this is
a really good movement in these terms. Now the TomEE Docker image is 200MB
less than the one using Debian. Concretely 191MB in front of 379MB.

Let me share with you the Dockerfile content:

FROM alpine:3.2

RUN apk --update add bash
RUN apk --update add curl
RUN apk --update add openjdk7
RUN apk --update add gnupg

# add our user and group first to make sure their IDs get assigned
consistently, regardless of whatever dependencies get added
RUN addgroup -S tomee && adduser -S -G tomee tomee

ENV PATH /usr/local/tomee/bin:$PATH
RUN mkdir -p /usr/local/tomee
RUN chown tomee:tomee /usr/local/tomee
WORKDIR /usr/local/tomee
USER tomee

RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
        && gpg --import KEYS

RUN curl -SL
https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
-o
tomee.tar.gz.asc

RUN curl -SL
http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
-o
tomee.tar.gz \
        && tar -zxvf tomee.tar.gz  \
        && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
        && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
        && rm -Rf apache-tomee-plus-1.7.2 \
        && rm bin/*.bat \
        && rm tomee.tar.gz*

EXPOSE 8080
CMD ["catalina.sh", "run"]

But it has two drawback is that alpine 3.2 still don't have support in APK
for openjdk8, but it will be added for alpine 3.3 so I am quite confident
that the best way to proceed is wait until it is released and then update
our Dockerfile and finally release our image as official image with
OpenJDK8.

The second problem is that we are setting alpine linux as default image in
our distribution and not a more popular like Debian.

Another message I have seen while creating the image was this one:

gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID D297D428
gpg: Good signature from "Jonathan Gallimore <jg...@apache.org>"
[unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the
owner.
Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C D297 D428

I don't know if Jonathan's key was not created by a trusted key.

Well that's all, let me know what you think about this change or what you
would like to see in official TomEE image.

Alex.

Re: Apache TomEE official image

Posted by Alex Soto <as...@gmail.com>.
well for final users doesn't have a deep impact since containers abstracts
from all these kind of things. But for example I see that if your
application is going to have more than container, you would like to have
same containers as based containers so Debian is a distribution more
generic and spread across developers. But of course we are paying the cost
of not being as light as Alpine.

On the other hand official images also offers the dockerfile so anyone can
build its own image with his favourite distro.

El dt., 23 juny 2015 a les 17:41, Romain Manni-Bucau (<rm...@gmail.com>)
va escriure:

> debian is more known IMO but not sure it changes much things for final
> users, what's your opinion Alex?
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com>
>
> 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
>
> > Guys what do you prefer for official Docker image. Be light with Alpine
> or
> > be versatile with Debian?
> >
> > El dl., 22 juny 2015 a les 23:59, Alex Soto (<as...@gmail.com>) va
> > escriure:
> >
> > > Thanks well I am still not 100% happy, what I am wondering is if debian
> > > image or alpine image. I m hesitant about this :)
> > >
> > > El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> > > jlmonteiro@tomitribe.com>) va escriure:
> > >
> > >> This is awesome Alex.
> > >> Thanks for driving this from start to end.
> > >>
> > >> Really great contribution.
> > >>
> > >> --
> > >> Jean-Louis Monteiro
> > >> http://twitter.com/jlouismonteiro
> > >> http://www.tomitribe.com
> > >>
> > >> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com>
> wrote:
> > >>
> > >> > Hi mates I have been working on creating a TomEE image in Docker.
> > >> > I am closely to be able to release an Apache TomEE official
> repository
> > >> on
> > >> > docker hub, but I prefer you take a look first.
> > >> >
> > >> > First of all I have decided to change from official openjdk image
> > which
> > >> is
> > >> > based on debian, to official Alpine image. This change is pretty
> > simple,
> > >> > the Alpine docker image is a light docker image (only 5MB) and
> > following
> > >> > the philosophy of TomEE of light yet powerful distribution, I think
> > >> this is
> > >> > a really good movement in these terms. Now the TomEE Docker image is
> > >> 200MB
> > >> > less than the one using Debian. Concretely 191MB in front of 379MB.
> > >> >
> > >> > Let me share with you the Dockerfile content:
> > >> >
> > >> > FROM alpine:3.2
> > >> >
> > >> > RUN apk --update add bash
> > >> > RUN apk --update add curl
> > >> > RUN apk --update add openjdk7
> > >> > RUN apk --update add gnupg
> > >> >
> > >> > # add our user and group first to make sure their IDs get assigned
> > >> > consistently, regardless of whatever dependencies get added
> > >> > RUN addgroup -S tomee && adduser -S -G tomee tomee
> > >> >
> > >> > ENV PATH /usr/local/tomee/bin:$PATH
> > >> > RUN mkdir -p /usr/local/tomee
> > >> > RUN chown tomee:tomee /usr/local/tomee
> > >> > WORKDIR /usr/local/tomee
> > >> > USER tomee
> > >> >
> > >> > RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
> > >> >         && gpg --import KEYS
> > >> >
> > >> > RUN curl -SL
> > >> >
> > >> >
> > >>
> >
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> > >> > -o
> > >> > tomee.tar.gz.asc
> > >> >
> > >> > RUN curl -SL
> > >> >
> > >> >
> > >>
> >
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> > >> > -o
> > >> > tomee.tar.gz \
> > >> >         && tar -zxvf tomee.tar.gz  \
> > >> >         && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> > >> >         && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
> > >> >         && rm -Rf apache-tomee-plus-1.7.2 \
> > >> >         && rm bin/*.bat \
> > >> >         && rm tomee.tar.gz*
> > >> >
> > >> > EXPOSE 8080
> > >> > CMD ["catalina.sh", "run"]
> > >> >
> > >> > But it has two drawback is that alpine 3.2 still don't have support
> in
> > >> APK
> > >> > for openjdk8, but it will be added for alpine 3.3 so I am quite
> > >> confident
> > >> > that the best way to proceed is wait until it is released and then
> > >> update
> > >> > our Dockerfile and finally release our image as official image with
> > >> > OpenJDK8.
> > >> >
> > >> > The second problem is that we are setting alpine linux as default
> > image
> > >> in
> > >> > our distribution and not a more popular like Debian.
> > >> >
> > >> > Another message I have seen while creating the image was this one:
> > >> >
> > >> > gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID
> > >> D297D428
> > >> > gpg: Good signature from "Jonathan Gallimore <jgallimore@apache.org
> >"
> > >> > [unknown]
> > >> > gpg: WARNING: This key is not certified with a trusted signature!
> > >> > gpg:          There is no indication that the signature belongs to
> the
> > >> > owner.
> > >> > Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C
> D297
> > >> D428
> > >> >
> > >> > I don't know if Jonathan's key was not created by a trusted key.
> > >> >
> > >> > Well that's all, let me know what you think about this change or
> what
> > >> you
> > >> > would like to see in official TomEE image.
> > >> >
> > >> > Alex.
> > >> >
> > >>
> > >
> >
>

Re: Apache TomEE official image

Posted by Romain Manni-Bucau <rm...@gmail.com>.
ok so lets do as most of images ;)


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-06-23 17:56 GMT+02:00 Alex Soto <as...@gmail.com>:

> well having twice of work when we release a new version of TomEE :) because
> you need to do some steps with github to create a file which points to each
> commit. Not critical work but more work. Moreover another think that I see
> is that I haven not find any official image that is provided with two
> different distros.
>
> El dt., 23 juny 2015 a les 17:48, Romain Manni-Bucau (<
> rmannibucau@gmail.com>)
> va escriure:
>
> > what's the cost of havingboth BTW?
> >
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <http://rmannibucau.wordpress.com> | Github <
> > https://github.com/rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > <http://www.tomitribe.com>
> >
> > 2015-06-23 17:46 GMT+02:00 Mark Struberg <st...@yahoo.de>:
> >
> > > I really like Alpine. Gives you apk as well but is really down to the
> > core
> > > without any useless ballast.
> > >
> > > LieGrue,
> > > strub
> > >
> > >
> > > > Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > > >:
> > > >
> > > > debian is more known IMO but not sure it changes much things for
> final
> > > > users, what's your opinion Alex?
> > > >
> > > >
> > > > Romain Manni-Bucau
> > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > <http://rmannibucau.wordpress.com> | Github <
> > > https://github.com/rmannibucau> |
> > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > > <http://www.tomitribe.com>
> > > >
> > > > 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
> > > >
> > > >> Guys what do you prefer for official Docker image. Be light with
> > Alpine
> > > or
> > > >> be versatile with Debian?
> > > >>
> > > >> El dl., 22 juny 2015 a les 23:59, Alex Soto (<as...@gmail.com>)
> va
> > > >> escriure:
> > > >>
> > > >>> Thanks well I am still not 100% happy, what I am wondering is if
> > debian
> > > >>> image or alpine image. I m hesitant about this :)
> > > >>>
> > > >>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> > > >>> jlmonteiro@tomitribe.com>) va escriure:
> > > >>>
> > > >>>> This is awesome Alex.
> > > >>>> Thanks for driving this from start to end.
> > > >>>>
> > > >>>> Really great contribution.
> > > >>>>
> > > >>>> --
> > > >>>> Jean-Louis Monteiro
> > > >>>> http://twitter.com/jlouismonteiro
> > > >>>> http://www.tomitribe.com
> > > >>>>
> > > >>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com>
> > > wrote:
> > > >>>>
> > > >>>>> Hi mates I have been working on creating a TomEE image in Docker.
> > > >>>>> I am closely to be able to release an Apache TomEE official
> > > repository
> > > >>>> on
> > > >>>>> docker hub, but I prefer you take a look first.
> > > >>>>>
> > > >>>>> First of all I have decided to change from official openjdk image
> > > >> which
> > > >>>> is
> > > >>>>> based on debian, to official Alpine image. This change is pretty
> > > >> simple,
> > > >>>>> the Alpine docker image is a light docker image (only 5MB) and
> > > >> following
> > > >>>>> the philosophy of TomEE of light yet powerful distribution, I
> think
> > > >>>> this is
> > > >>>>> a really good movement in these terms. Now the TomEE Docker image
> > is
> > > >>>> 200MB
> > > >>>>> less than the one using Debian. Concretely 191MB in front of
> 379MB.
> > > >>>>>
> > > >>>>> Let me share with you the Dockerfile content:
> > > >>>>>
> > > >>>>> FROM alpine:3.2
> > > >>>>>
> > > >>>>> RUN apk --update add bash
> > > >>>>> RUN apk --update add curl
> > > >>>>> RUN apk --update add openjdk7
> > > >>>>> RUN apk --update add gnupg
> > > >>>>>
> > > >>>>> # add our user and group first to make sure their IDs get
> assigned
> > > >>>>> consistently, regardless of whatever dependencies get added
> > > >>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
> > > >>>>>
> > > >>>>> ENV PATH /usr/local/tomee/bin:$PATH
> > > >>>>> RUN mkdir -p /usr/local/tomee
> > > >>>>> RUN chown tomee:tomee /usr/local/tomee
> > > >>>>> WORKDIR /usr/local/tomee
> > > >>>>> USER tomee
> > > >>>>>
> > > >>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
> > > >>>>>        && gpg --import KEYS
> > > >>>>>
> > > >>>>> RUN curl -SL
> > > >>>>>
> > > >>>>>
> > > >>>>
> > > >>
> > >
> >
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> > > >>>>> -o
> > > >>>>> tomee.tar.gz.asc
> > > >>>>>
> > > >>>>> RUN curl -SL
> > > >>>>>
> > > >>>>>
> > > >>>>
> > > >>
> > >
> >
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> > > >>>>> -o
> > > >>>>> tomee.tar.gz \
> > > >>>>>        && tar -zxvf tomee.tar.gz  \
> > > >>>>>        && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> > > >>>>>        && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
> > > >>>>>        && rm -Rf apache-tomee-plus-1.7.2 \
> > > >>>>>        && rm bin/*.bat \
> > > >>>>>        && rm tomee.tar.gz*
> > > >>>>>
> > > >>>>> EXPOSE 8080
> > > >>>>> CMD ["catalina.sh", "run"]
> > > >>>>>
> > > >>>>> But it has two drawback is that alpine 3.2 still don't have
> support
> > > in
> > > >>>> APK
> > > >>>>> for openjdk8, but it will be added for alpine 3.3 so I am quite
> > > >>>> confident
> > > >>>>> that the best way to proceed is wait until it is released and
> then
> > > >>>> update
> > > >>>>> our Dockerfile and finally release our image as official image
> with
> > > >>>>> OpenJDK8.
> > > >>>>>
> > > >>>>> The second problem is that we are setting alpine linux as default
> > > >> image
> > > >>>> in
> > > >>>>> our distribution and not a more popular like Debian.
> > > >>>>>
> > > >>>>> Another message I have seen while creating the image was this
> one:
> > > >>>>>
> > > >>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID
> > > >>>> D297D428
> > > >>>>> gpg: Good signature from "Jonathan Gallimore <
> > jgallimore@apache.org
> > > >"
> > > >>>>> [unknown]
> > > >>>>> gpg: WARNING: This key is not certified with a trusted signature!
> > > >>>>> gpg:          There is no indication that the signature belongs
> to
> > > the
> > > >>>>> owner.
> > > >>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C
> > > D297
> > > >>>> D428
> > > >>>>>
> > > >>>>> I don't know if Jonathan's key was not created by a trusted key.
> > > >>>>>
> > > >>>>> Well that's all, let me know what you think about this change or
> > what
> > > >>>> you
> > > >>>>> would like to see in official TomEE image.
> > > >>>>>
> > > >>>>> Alex.
> > > >>>>>
> > > >>>>
> > > >>>
> > > >>
> > >
> > >
> >
>

Re: Apache TomEE official image

Posted by Alex Soto <as...@gmail.com>.
well having twice of work when we release a new version of TomEE :) because
you need to do some steps with github to create a file which points to each
commit. Not critical work but more work. Moreover another think that I see
is that I haven not find any official image that is provided with two
different distros.

El dt., 23 juny 2015 a les 17:48, Romain Manni-Bucau (<rm...@gmail.com>)
va escriure:

> what's the cost of havingboth BTW?
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com>
>
> 2015-06-23 17:46 GMT+02:00 Mark Struberg <st...@yahoo.de>:
>
> > I really like Alpine. Gives you apk as well but is really down to the
> core
> > without any useless ballast.
> >
> > LieGrue,
> > strub
> >
> >
> > > Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >:
> > >
> > > debian is more known IMO but not sure it changes much things for final
> > > users, what's your opinion Alex?
> > >
> > >
> > > Romain Manni-Bucau
> > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > <http://rmannibucau.wordpress.com> | Github <
> > https://github.com/rmannibucau> |
> > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > <http://www.tomitribe.com>
> > >
> > > 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
> > >
> > >> Guys what do you prefer for official Docker image. Be light with
> Alpine
> > or
> > >> be versatile with Debian?
> > >>
> > >> El dl., 22 juny 2015 a les 23:59, Alex Soto (<as...@gmail.com>) va
> > >> escriure:
> > >>
> > >>> Thanks well I am still not 100% happy, what I am wondering is if
> debian
> > >>> image or alpine image. I m hesitant about this :)
> > >>>
> > >>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> > >>> jlmonteiro@tomitribe.com>) va escriure:
> > >>>
> > >>>> This is awesome Alex.
> > >>>> Thanks for driving this from start to end.
> > >>>>
> > >>>> Really great contribution.
> > >>>>
> > >>>> --
> > >>>> Jean-Louis Monteiro
> > >>>> http://twitter.com/jlouismonteiro
> > >>>> http://www.tomitribe.com
> > >>>>
> > >>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com>
> > wrote:
> > >>>>
> > >>>>> Hi mates I have been working on creating a TomEE image in Docker.
> > >>>>> I am closely to be able to release an Apache TomEE official
> > repository
> > >>>> on
> > >>>>> docker hub, but I prefer you take a look first.
> > >>>>>
> > >>>>> First of all I have decided to change from official openjdk image
> > >> which
> > >>>> is
> > >>>>> based on debian, to official Alpine image. This change is pretty
> > >> simple,
> > >>>>> the Alpine docker image is a light docker image (only 5MB) and
> > >> following
> > >>>>> the philosophy of TomEE of light yet powerful distribution, I think
> > >>>> this is
> > >>>>> a really good movement in these terms. Now the TomEE Docker image
> is
> > >>>> 200MB
> > >>>>> less than the one using Debian. Concretely 191MB in front of 379MB.
> > >>>>>
> > >>>>> Let me share with you the Dockerfile content:
> > >>>>>
> > >>>>> FROM alpine:3.2
> > >>>>>
> > >>>>> RUN apk --update add bash
> > >>>>> RUN apk --update add curl
> > >>>>> RUN apk --update add openjdk7
> > >>>>> RUN apk --update add gnupg
> > >>>>>
> > >>>>> # add our user and group first to make sure their IDs get assigned
> > >>>>> consistently, regardless of whatever dependencies get added
> > >>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
> > >>>>>
> > >>>>> ENV PATH /usr/local/tomee/bin:$PATH
> > >>>>> RUN mkdir -p /usr/local/tomee
> > >>>>> RUN chown tomee:tomee /usr/local/tomee
> > >>>>> WORKDIR /usr/local/tomee
> > >>>>> USER tomee
> > >>>>>
> > >>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
> > >>>>>        && gpg --import KEYS
> > >>>>>
> > >>>>> RUN curl -SL
> > >>>>>
> > >>>>>
> > >>>>
> > >>
> >
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> > >>>>> -o
> > >>>>> tomee.tar.gz.asc
> > >>>>>
> > >>>>> RUN curl -SL
> > >>>>>
> > >>>>>
> > >>>>
> > >>
> >
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> > >>>>> -o
> > >>>>> tomee.tar.gz \
> > >>>>>        && tar -zxvf tomee.tar.gz  \
> > >>>>>        && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> > >>>>>        && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
> > >>>>>        && rm -Rf apache-tomee-plus-1.7.2 \
> > >>>>>        && rm bin/*.bat \
> > >>>>>        && rm tomee.tar.gz*
> > >>>>>
> > >>>>> EXPOSE 8080
> > >>>>> CMD ["catalina.sh", "run"]
> > >>>>>
> > >>>>> But it has two drawback is that alpine 3.2 still don't have support
> > in
> > >>>> APK
> > >>>>> for openjdk8, but it will be added for alpine 3.3 so I am quite
> > >>>> confident
> > >>>>> that the best way to proceed is wait until it is released and then
> > >>>> update
> > >>>>> our Dockerfile and finally release our image as official image with
> > >>>>> OpenJDK8.
> > >>>>>
> > >>>>> The second problem is that we are setting alpine linux as default
> > >> image
> > >>>> in
> > >>>>> our distribution and not a more popular like Debian.
> > >>>>>
> > >>>>> Another message I have seen while creating the image was this one:
> > >>>>>
> > >>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID
> > >>>> D297D428
> > >>>>> gpg: Good signature from "Jonathan Gallimore <
> jgallimore@apache.org
> > >"
> > >>>>> [unknown]
> > >>>>> gpg: WARNING: This key is not certified with a trusted signature!
> > >>>>> gpg:          There is no indication that the signature belongs to
> > the
> > >>>>> owner.
> > >>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C
> > D297
> > >>>> D428
> > >>>>>
> > >>>>> I don't know if Jonathan's key was not created by a trusted key.
> > >>>>>
> > >>>>> Well that's all, let me know what you think about this change or
> what
> > >>>> you
> > >>>>> would like to see in official TomEE image.
> > >>>>>
> > >>>>> Alex.
> > >>>>>
> > >>>>
> > >>>
> > >>
> >
> >
>

Re: Apache TomEE official image

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Then pickup one that sounds the best to you and let's see what's the
feedback.
Still time to create another one

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com

On Wed, Jun 24, 2015 at 10:15 AM, Alex Soto <as...@gmail.com> wrote:

> I have the same opinion of Adam but of course I don t have the vision of
> what almost all companies will do
> El dc., 24 de juny, 2015 a les 18.33 Adam Cornett <ad...@gmail.com>
> va escriure:
>
> > I don't think it is possible to create a "one-size-fits-all" image.  The
> > official one could be very useful for trying out TomEE and getting
> > started.  But I think in many cases people would take the Docker file and
> > use it as a starting point to create their own image when using it for a
> > production application. For instance doing things like replacing OpenJDK
> > with Oracle Java or using the distro of choice for the system admin.
> >
> > I think having an official image that meets the Java EE 7 spec, is
> > lightweight, and 'just works' is the best plan and it can serve as a
> > starting point for those wishing to create a more tailored container.
> >
> >
> > On Wed, Jun 24, 2015 at 4:10 AM, Alex Soto <as...@gmail.com> wrote:
> >
> > > Well it is an official image, not sure if people would use for demos
> only
> > > or not.
> > >
> > > El dc., 24 juny 2015 a les 8:47, Andy Gumbrecht (<
> > agumbrecht@tomitribe.com
> > > >)
> > > va escriure:
> > >
> > > > Sure, but I know at least one interested party that will want to add
> > > > substantial packages. So they would need their own image I guess. If
> > this
> > > > lightweight image is just for demos and showcasing, then sure, as
> small
> > > as
> > > > possible.
> > > >
> > > > http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
> > > > On 23 Jun 2015 23:38, "Jean-Louis Monteiro" <
> jlmonteiro@tomitribe.com>
> > > > wrote:
> > > >
> > > > > Let's refine if it helps.
> > > > > Alpine is lightweight and sounds like closer to what TomEE tries to
> > do.
> > > > >
> > > > > +1 for Alpine then
> > > > >
> > > > > --
> > > > > Jean-Louis Monteiro
> > > > > http://twitter.com/jlouismonteiro
> > > > > http://www.tomitribe.com
> > > > >
> > > > > On Tue, Jun 23, 2015 at 5:16 PM, Alex Soto <as...@gmail.com>
> > wrote:
> > > > >
> > > > > > Ok so we have Jean-Louis and Romain that we can say they are
> > neutral,
> > > > > Mark
> > > > > > for alpine and Andy for Debian.
> > > > > > For me Alpine is the best one in terms of performance but we are
> > > tight
> > > > to
> > > > > > apk which is far always from being as good as debian apt get
> > > > > > El dt., 23 de juny, 2015 a les 21.25 Andy Gumbrecht <
> > > > > > agumbrecht@tomitribe.com> va escriure:
> > > > > >
> > > > > > > Jumping in late. This image will be used as a foundation for
> > others
> > > > to
> > > > > > > extend with many different features. Therefore I think the
> image
> > > > should
> > > > > > > provide as much flexibility as possible
> > > > > > >
> > > > > > > Thanks for all your work Alex.
> > > > > > >
> > > > > > > Andy.
> > > > > > >
> > > > > > > http://www.tomitribe.com - @AndyGeeDe - On a small screen
> > device.
> > > > > > > On 23 Jun 2015 17:26, "Mark Struberg" <st...@yahoo.de>
> wrote:
> > > > > > >
> > > > > > > > almost nothing.
> > > > > > > > 2 Dockerfiles and a bit of storage ;)
> > > > > > > >
> > > > > > > > LieGrue,
> > > > > > > > strub
> > > > > > > >
> > > > > > > >
> > > > > > > > > Am 23.06.2015 um 17:48 schrieb Romain Manni-Bucau <
> > > > > > > rmannibucau@gmail.com
> > > > > > > > >:
> > > > > > > > >
> > > > > > > > > what's the cost of havingboth BTW?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Romain Manni-Bucau
> > > > > > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > > > > > https://github.com/rmannibucau> |
> > > > > > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> |
> > > Tomitriber
> > > > > > > > > <http://www.tomitribe.com>
> > > > > > > > >
> > > > > > > > > 2015-06-23 17:46 GMT+02:00 Mark Struberg <
> struberg@yahoo.de
> > >:
> > > > > > > > >
> > > > > > > > >> I really like Alpine. Gives you apk as well but is really
> > down
> > > > to
> > > > > > the
> > > > > > > > core
> > > > > > > > >> without any useless ballast.
> > > > > > > > >>
> > > > > > > > >> LieGrue,
> > > > > > > > >> strub
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > > >>> Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <
> > > > > > > > rmannibucau@gmail.com
> > > > > > > > >>> :
> > > > > > > > >>>
> > > > > > > > >>> debian is more known IMO but not sure it changes much
> > things
> > > > for
> > > > > > > final
> > > > > > > > >>> users, what's your opinion Alex?
> > > > > > > > >>>
> > > > > > > > >>>
> > > > > > > > >>> Romain Manni-Bucau
> > > > > > > > >>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > > > > >>> <http://rmannibucau.wordpress.com> | Github <
> > > > > > > > >> https://github.com/rmannibucau> |
> > > > > > > > >>> LinkedIn <https://www.linkedin.com/in/rmannibucau> |
> > > > Tomitriber
> > > > > > > > >>> <http://www.tomitribe.com>
> > > > > > > > >>>
> > > > > > > > >>> 2015-06-23 17:31 GMT+02:00 Alex Soto <asotobu@gmail.com
> >:
> > > > > > > > >>>
> > > > > > > > >>>> Guys what do you prefer for official Docker image. Be
> > light
> > > > with
> > > > > > > > Alpine
> > > > > > > > >> or
> > > > > > > > >>>> be versatile with Debian?
> > > > > > > > >>>>
> > > > > > > > >>>> El dl., 22 juny 2015 a les 23:59, Alex Soto (<
> > > > asotobu@gmail.com
> > > > > >)
> > > > > > > va
> > > > > > > > >>>> escriure:
> > > > > > > > >>>>
> > > > > > > > >>>>> Thanks well I am still not 100% happy, what I am
> > wondering
> > > is
> > > > > if
> > > > > > > > debian
> > > > > > > > >>>>> image or alpine image. I m hesitant about this :)
> > > > > > > > >>>>>
> > > > > > > > >>>>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro
> (<
> > > > > > > > >>>>> jlmonteiro@tomitribe.com>) va escriure:
> > > > > > > > >>>>>
> > > > > > > > >>>>>> This is awesome Alex.
> > > > > > > > >>>>>> Thanks for driving this from start to end.
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> Really great contribution.
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> --
> > > > > > > > >>>>>> Jean-Louis Monteiro
> > > > > > > > >>>>>> http://twitter.com/jlouismonteiro
> > > > > > > > >>>>>> http://www.tomitribe.com
> > > > > > > > >>>>>>
> > > > > > > > >>>>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <
> > > > > asotobu@gmail.com>
> > > > > > > > >> wrote:
> > > > > > > > >>>>>>
> > > > > > > > >>>>>>> Hi mates I have been working on creating a TomEE
> image
> > in
> > > > > > Docker.
> > > > > > > > >>>>>>> I am closely to be able to release an Apache TomEE
> > > official
> > > > > > > > >> repository
> > > > > > > > >>>>>> on
> > > > > > > > >>>>>>> docker hub, but I prefer you take a look first.
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> First of all I have decided to change from official
> > > openjdk
> > > > > > image
> > > > > > > > >>>> which
> > > > > > > > >>>>>> is
> > > > > > > > >>>>>>> based on debian, to official Alpine image. This
> change
> > is
> > > > > > pretty
> > > > > > > > >>>> simple,
> > > > > > > > >>>>>>> the Alpine docker image is a light docker image (only
> > > 5MB)
> > > > > and
> > > > > > > > >>>> following
> > > > > > > > >>>>>>> the philosophy of TomEE of light yet powerful
> > > > distribution, I
> > > > > > > think
> > > > > > > > >>>>>> this is
> > > > > > > > >>>>>>> a really good movement in these terms. Now the TomEE
> > > Docker
> > > > > > image
> > > > > > > > is
> > > > > > > > >>>>>> 200MB
> > > > > > > > >>>>>>> less than the one using Debian. Concretely 191MB in
> > front
> > > > of
> > > > > > > 379MB.
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> Let me share with you the Dockerfile content:
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> FROM alpine:3.2
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> RUN apk --update add bash
> > > > > > > > >>>>>>> RUN apk --update add curl
> > > > > > > > >>>>>>> RUN apk --update add openjdk7
> > > > > > > > >>>>>>> RUN apk --update add gnupg
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> # add our user and group first to make sure their IDs
> > get
> > > > > > > assigned
> > > > > > > > >>>>>>> consistently, regardless of whatever dependencies get
> > > added
> > > > > > > > >>>>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> ENV PATH /usr/local/tomee/bin:$PATH
> > > > > > > > >>>>>>> RUN mkdir -p /usr/local/tomee
> > > > > > > > >>>>>>> RUN chown tomee:tomee /usr/local/tomee
> > > > > > > > >>>>>>> WORKDIR /usr/local/tomee
> > > > > > > > >>>>>>> USER tomee
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS
> -o
> > > > KEYS \
> > > > > > > > >>>>>>>       && gpg --import KEYS
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> RUN curl -SL
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>
> > > > > > > > >>>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> > > > > > > > >>>>>>> -o
> > > > > > > > >>>>>>> tomee.tar.gz.asc
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> RUN curl -SL
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>
> > > > > > > > >>>>
> > > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> > > > > > > > >>>>>>> -o
> > > > > > > > >>>>>>> tomee.tar.gz \
> > > > > > > > >>>>>>>       && tar -zxvf tomee.tar.gz  \
> > > > > > > > >>>>>>>       && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> > > > > > > > >>>>>>>       && mv apache-tomee-webprofile-1.7.2/*
> > > > /usr/local/tomee
> > > > > \
> > > > > > > > >>>>>>>       && rm -Rf apache-tomee-plus-1.7.2 \
> > > > > > > > >>>>>>>       && rm bin/*.bat \
> > > > > > > > >>>>>>>       && rm tomee.tar.gz*
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> EXPOSE 8080
> > > > > > > > >>>>>>> CMD ["catalina.sh", "run"]
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> But it has two drawback is that alpine 3.2 still
> don't
> > > have
> > > > > > > support
> > > > > > > > >> in
> > > > > > > > >>>>>> APK
> > > > > > > > >>>>>>> for openjdk8, but it will be added for alpine 3.3 so
> I
> > am
> > > > > quite
> > > > > > > > >>>>>> confident
> > > > > > > > >>>>>>> that the best way to proceed is wait until it is
> > released
> > > > and
> > > > > > > then
> > > > > > > > >>>>>> update
> > > > > > > > >>>>>>> our Dockerfile and finally release our image as
> > official
> > > > > image
> > > > > > > with
> > > > > > > > >>>>>>> OpenJDK8.
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> The second problem is that we are setting alpine
> linux
> > as
> > > > > > default
> > > > > > > > >>>> image
> > > > > > > > >>>>>> in
> > > > > > > > >>>>>>> our distribution and not a more popular like Debian.
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> Another message I have seen while creating the image
> > was
> > > > this
> > > > > > > one:
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC
> using
> > > DSA
> > > > > key
> > > > > > ID
> > > > > > > > >>>>>> D297D428
> > > > > > > > >>>>>>> gpg: Good signature from "Jonathan Gallimore <
> > > > > > > > jgallimore@apache.org
> > > > > > > > >>> "
> > > > > > > > >>>>>>> [unknown]
> > > > > > > > >>>>>>> gpg: WARNING: This key is not certified with a
> trusted
> > > > > > signature!
> > > > > > > > >>>>>>> gpg:          There is no indication that the
> signature
> > > > > belongs
> > > > > > > to
> > > > > > > > >> the
> > > > > > > > >>>>>>> owner.
> > > > > > > > >>>>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA
> B025
> > > > C8BB
> > > > > > 472C
> > > > > > > > >> D297
> > > > > > > > >>>>>> D428
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> I don't know if Jonathan's key was not created by a
> > > trusted
> > > > > > key.
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> Well that's all, let me know what you think about
> this
> > > > change
> > > > > > or
> > > > > > > > what
> > > > > > > > >>>>>> you
> > > > > > > > >>>>>>> would like to see in official TomEE image.
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>> Alex.
> > > > > > > > >>>>>>>
> > > > > > > > >>>>>>
> > > > > > > > >>>>>
> > > > > > > > >>>>
> > > > > > > > >>
> > > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> >
> >
> > --
> > Adam Cornett
> > adam.cornett@gmail.com
> > (678) 296-1150
> >
>

Re: Apache TomEE official image

Posted by Alex Soto <as...@gmail.com>.
I have the same opinion of Adam but of course I don t have the vision of
what almost all companies will do
El dc., 24 de juny, 2015 a les 18.33 Adam Cornett <ad...@gmail.com>
va escriure:

> I don't think it is possible to create a "one-size-fits-all" image.  The
> official one could be very useful for trying out TomEE and getting
> started.  But I think in many cases people would take the Docker file and
> use it as a starting point to create their own image when using it for a
> production application. For instance doing things like replacing OpenJDK
> with Oracle Java or using the distro of choice for the system admin.
>
> I think having an official image that meets the Java EE 7 spec, is
> lightweight, and 'just works' is the best plan and it can serve as a
> starting point for those wishing to create a more tailored container.
>
>
> On Wed, Jun 24, 2015 at 4:10 AM, Alex Soto <as...@gmail.com> wrote:
>
> > Well it is an official image, not sure if people would use for demos only
> > or not.
> >
> > El dc., 24 juny 2015 a les 8:47, Andy Gumbrecht (<
> agumbrecht@tomitribe.com
> > >)
> > va escriure:
> >
> > > Sure, but I know at least one interested party that will want to add
> > > substantial packages. So they would need their own image I guess. If
> this
> > > lightweight image is just for demos and showcasing, then sure, as small
> > as
> > > possible.
> > >
> > > http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
> > > On 23 Jun 2015 23:38, "Jean-Louis Monteiro" <jl...@tomitribe.com>
> > > wrote:
> > >
> > > > Let's refine if it helps.
> > > > Alpine is lightweight and sounds like closer to what TomEE tries to
> do.
> > > >
> > > > +1 for Alpine then
> > > >
> > > > --
> > > > Jean-Louis Monteiro
> > > > http://twitter.com/jlouismonteiro
> > > > http://www.tomitribe.com
> > > >
> > > > On Tue, Jun 23, 2015 at 5:16 PM, Alex Soto <as...@gmail.com>
> wrote:
> > > >
> > > > > Ok so we have Jean-Louis and Romain that we can say they are
> neutral,
> > > > Mark
> > > > > for alpine and Andy for Debian.
> > > > > For me Alpine is the best one in terms of performance but we are
> > tight
> > > to
> > > > > apk which is far always from being as good as debian apt get
> > > > > El dt., 23 de juny, 2015 a les 21.25 Andy Gumbrecht <
> > > > > agumbrecht@tomitribe.com> va escriure:
> > > > >
> > > > > > Jumping in late. This image will be used as a foundation for
> others
> > > to
> > > > > > extend with many different features. Therefore I think the image
> > > should
> > > > > > provide as much flexibility as possible
> > > > > >
> > > > > > Thanks for all your work Alex.
> > > > > >
> > > > > > Andy.
> > > > > >
> > > > > > http://www.tomitribe.com - @AndyGeeDe - On a small screen
> device.
> > > > > > On 23 Jun 2015 17:26, "Mark Struberg" <st...@yahoo.de> wrote:
> > > > > >
> > > > > > > almost nothing.
> > > > > > > 2 Dockerfiles and a bit of storage ;)
> > > > > > >
> > > > > > > LieGrue,
> > > > > > > strub
> > > > > > >
> > > > > > >
> > > > > > > > Am 23.06.2015 um 17:48 schrieb Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com
> > > > > > > >:
> > > > > > > >
> > > > > > > > what's the cost of havingboth BTW?
> > > > > > > >
> > > > > > > >
> > > > > > > > Romain Manni-Bucau
> > > > > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > > > > https://github.com/rmannibucau> |
> > > > > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> |
> > Tomitriber
> > > > > > > > <http://www.tomitribe.com>
> > > > > > > >
> > > > > > > > 2015-06-23 17:46 GMT+02:00 Mark Struberg <struberg@yahoo.de
> >:
> > > > > > > >
> > > > > > > >> I really like Alpine. Gives you apk as well but is really
> down
> > > to
> > > > > the
> > > > > > > core
> > > > > > > >> without any useless ballast.
> > > > > > > >>
> > > > > > > >> LieGrue,
> > > > > > > >> strub
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>> Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <
> > > > > > > rmannibucau@gmail.com
> > > > > > > >>> :
> > > > > > > >>>
> > > > > > > >>> debian is more known IMO but not sure it changes much
> things
> > > for
> > > > > > final
> > > > > > > >>> users, what's your opinion Alex?
> > > > > > > >>>
> > > > > > > >>>
> > > > > > > >>> Romain Manni-Bucau
> > > > > > > >>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > > > >>> <http://rmannibucau.wordpress.com> | Github <
> > > > > > > >> https://github.com/rmannibucau> |
> > > > > > > >>> LinkedIn <https://www.linkedin.com/in/rmannibucau> |
> > > Tomitriber
> > > > > > > >>> <http://www.tomitribe.com>
> > > > > > > >>>
> > > > > > > >>> 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
> > > > > > > >>>
> > > > > > > >>>> Guys what do you prefer for official Docker image. Be
> light
> > > with
> > > > > > > Alpine
> > > > > > > >> or
> > > > > > > >>>> be versatile with Debian?
> > > > > > > >>>>
> > > > > > > >>>> El dl., 22 juny 2015 a les 23:59, Alex Soto (<
> > > asotobu@gmail.com
> > > > >)
> > > > > > va
> > > > > > > >>>> escriure:
> > > > > > > >>>>
> > > > > > > >>>>> Thanks well I am still not 100% happy, what I am
> wondering
> > is
> > > > if
> > > > > > > debian
> > > > > > > >>>>> image or alpine image. I m hesitant about this :)
> > > > > > > >>>>>
> > > > > > > >>>>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> > > > > > > >>>>> jlmonteiro@tomitribe.com>) va escriure:
> > > > > > > >>>>>
> > > > > > > >>>>>> This is awesome Alex.
> > > > > > > >>>>>> Thanks for driving this from start to end.
> > > > > > > >>>>>>
> > > > > > > >>>>>> Really great contribution.
> > > > > > > >>>>>>
> > > > > > > >>>>>> --
> > > > > > > >>>>>> Jean-Louis Monteiro
> > > > > > > >>>>>> http://twitter.com/jlouismonteiro
> > > > > > > >>>>>> http://www.tomitribe.com
> > > > > > > >>>>>>
> > > > > > > >>>>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <
> > > > asotobu@gmail.com>
> > > > > > > >> wrote:
> > > > > > > >>>>>>
> > > > > > > >>>>>>> Hi mates I have been working on creating a TomEE image
> in
> > > > > Docker.
> > > > > > > >>>>>>> I am closely to be able to release an Apache TomEE
> > official
> > > > > > > >> repository
> > > > > > > >>>>>> on
> > > > > > > >>>>>>> docker hub, but I prefer you take a look first.
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> First of all I have decided to change from official
> > openjdk
> > > > > image
> > > > > > > >>>> which
> > > > > > > >>>>>> is
> > > > > > > >>>>>>> based on debian, to official Alpine image. This change
> is
> > > > > pretty
> > > > > > > >>>> simple,
> > > > > > > >>>>>>> the Alpine docker image is a light docker image (only
> > 5MB)
> > > > and
> > > > > > > >>>> following
> > > > > > > >>>>>>> the philosophy of TomEE of light yet powerful
> > > distribution, I
> > > > > > think
> > > > > > > >>>>>> this is
> > > > > > > >>>>>>> a really good movement in these terms. Now the TomEE
> > Docker
> > > > > image
> > > > > > > is
> > > > > > > >>>>>> 200MB
> > > > > > > >>>>>>> less than the one using Debian. Concretely 191MB in
> front
> > > of
> > > > > > 379MB.
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> Let me share with you the Dockerfile content:
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> FROM alpine:3.2
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> RUN apk --update add bash
> > > > > > > >>>>>>> RUN apk --update add curl
> > > > > > > >>>>>>> RUN apk --update add openjdk7
> > > > > > > >>>>>>> RUN apk --update add gnupg
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> # add our user and group first to make sure their IDs
> get
> > > > > > assigned
> > > > > > > >>>>>>> consistently, regardless of whatever dependencies get
> > added
> > > > > > > >>>>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> ENV PATH /usr/local/tomee/bin:$PATH
> > > > > > > >>>>>>> RUN mkdir -p /usr/local/tomee
> > > > > > > >>>>>>> RUN chown tomee:tomee /usr/local/tomee
> > > > > > > >>>>>>> WORKDIR /usr/local/tomee
> > > > > > > >>>>>>> USER tomee
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o
> > > KEYS \
> > > > > > > >>>>>>>       && gpg --import KEYS
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> RUN curl -SL
> > > > > > > >>>>>>>
> > > > > > > >>>>>>>
> > > > > > > >>>>>>
> > > > > > > >>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> > > > > > > >>>>>>> -o
> > > > > > > >>>>>>> tomee.tar.gz.asc
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> RUN curl -SL
> > > > > > > >>>>>>>
> > > > > > > >>>>>>>
> > > > > > > >>>>>>
> > > > > > > >>>>
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> > > > > > > >>>>>>> -o
> > > > > > > >>>>>>> tomee.tar.gz \
> > > > > > > >>>>>>>       && tar -zxvf tomee.tar.gz  \
> > > > > > > >>>>>>>       && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> > > > > > > >>>>>>>       && mv apache-tomee-webprofile-1.7.2/*
> > > /usr/local/tomee
> > > > \
> > > > > > > >>>>>>>       && rm -Rf apache-tomee-plus-1.7.2 \
> > > > > > > >>>>>>>       && rm bin/*.bat \
> > > > > > > >>>>>>>       && rm tomee.tar.gz*
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> EXPOSE 8080
> > > > > > > >>>>>>> CMD ["catalina.sh", "run"]
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> But it has two drawback is that alpine 3.2 still don't
> > have
> > > > > > support
> > > > > > > >> in
> > > > > > > >>>>>> APK
> > > > > > > >>>>>>> for openjdk8, but it will be added for alpine 3.3 so I
> am
> > > > quite
> > > > > > > >>>>>> confident
> > > > > > > >>>>>>> that the best way to proceed is wait until it is
> released
> > > and
> > > > > > then
> > > > > > > >>>>>> update
> > > > > > > >>>>>>> our Dockerfile and finally release our image as
> official
> > > > image
> > > > > > with
> > > > > > > >>>>>>> OpenJDK8.
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> The second problem is that we are setting alpine linux
> as
> > > > > default
> > > > > > > >>>> image
> > > > > > > >>>>>> in
> > > > > > > >>>>>>> our distribution and not a more popular like Debian.
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> Another message I have seen while creating the image
> was
> > > this
> > > > > > one:
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using
> > DSA
> > > > key
> > > > > ID
> > > > > > > >>>>>> D297D428
> > > > > > > >>>>>>> gpg: Good signature from "Jonathan Gallimore <
> > > > > > > jgallimore@apache.org
> > > > > > > >>> "
> > > > > > > >>>>>>> [unknown]
> > > > > > > >>>>>>> gpg: WARNING: This key is not certified with a trusted
> > > > > signature!
> > > > > > > >>>>>>> gpg:          There is no indication that the signature
> > > > belongs
> > > > > > to
> > > > > > > >> the
> > > > > > > >>>>>>> owner.
> > > > > > > >>>>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025
> > > C8BB
> > > > > 472C
> > > > > > > >> D297
> > > > > > > >>>>>> D428
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> I don't know if Jonathan's key was not created by a
> > trusted
> > > > > key.
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> Well that's all, let me know what you think about this
> > > change
> > > > > or
> > > > > > > what
> > > > > > > >>>>>> you
> > > > > > > >>>>>>> would like to see in official TomEE image.
> > > > > > > >>>>>>>
> > > > > > > >>>>>>> Alex.
> > > > > > > >>>>>>>
> > > > > > > >>>>>>
> > > > > > > >>>>>
> > > > > > > >>>>
> > > > > > > >>
> > > > > > > >>
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
>
>
> --
> Adam Cornett
> adam.cornett@gmail.com
> (678) 296-1150
>

Re: Apache TomEE official image

Posted by Adam Cornett <ad...@gmail.com>.
I don't think it is possible to create a "one-size-fits-all" image.  The
official one could be very useful for trying out TomEE and getting
started.  But I think in many cases people would take the Docker file and
use it as a starting point to create their own image when using it for a
production application. For instance doing things like replacing OpenJDK
with Oracle Java or using the distro of choice for the system admin.

I think having an official image that meets the Java EE 7 spec, is
lightweight, and 'just works' is the best plan and it can serve as a
starting point for those wishing to create a more tailored container.


On Wed, Jun 24, 2015 at 4:10 AM, Alex Soto <as...@gmail.com> wrote:

> Well it is an official image, not sure if people would use for demos only
> or not.
>
> El dc., 24 juny 2015 a les 8:47, Andy Gumbrecht (<agumbrecht@tomitribe.com
> >)
> va escriure:
>
> > Sure, but I know at least one interested party that will want to add
> > substantial packages. So they would need their own image I guess. If this
> > lightweight image is just for demos and showcasing, then sure, as small
> as
> > possible.
> >
> > http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
> > On 23 Jun 2015 23:38, "Jean-Louis Monteiro" <jl...@tomitribe.com>
> > wrote:
> >
> > > Let's refine if it helps.
> > > Alpine is lightweight and sounds like closer to what TomEE tries to do.
> > >
> > > +1 for Alpine then
> > >
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> > > On Tue, Jun 23, 2015 at 5:16 PM, Alex Soto <as...@gmail.com> wrote:
> > >
> > > > Ok so we have Jean-Louis and Romain that we can say they are neutral,
> > > Mark
> > > > for alpine and Andy for Debian.
> > > > For me Alpine is the best one in terms of performance but we are
> tight
> > to
> > > > apk which is far always from being as good as debian apt get
> > > > El dt., 23 de juny, 2015 a les 21.25 Andy Gumbrecht <
> > > > agumbrecht@tomitribe.com> va escriure:
> > > >
> > > > > Jumping in late. This image will be used as a foundation for others
> > to
> > > > > extend with many different features. Therefore I think the image
> > should
> > > > > provide as much flexibility as possible
> > > > >
> > > > > Thanks for all your work Alex.
> > > > >
> > > > > Andy.
> > > > >
> > > > > http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
> > > > > On 23 Jun 2015 17:26, "Mark Struberg" <st...@yahoo.de> wrote:
> > > > >
> > > > > > almost nothing.
> > > > > > 2 Dockerfiles and a bit of storage ;)
> > > > > >
> > > > > > LieGrue,
> > > > > > strub
> > > > > >
> > > > > >
> > > > > > > Am 23.06.2015 um 17:48 schrieb Romain Manni-Bucau <
> > > > > rmannibucau@gmail.com
> > > > > > >:
> > > > > > >
> > > > > > > what's the cost of havingboth BTW?
> > > > > > >
> > > > > > >
> > > > > > > Romain Manni-Bucau
> > > > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > > > https://github.com/rmannibucau> |
> > > > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> |
> Tomitriber
> > > > > > > <http://www.tomitribe.com>
> > > > > > >
> > > > > > > 2015-06-23 17:46 GMT+02:00 Mark Struberg <st...@yahoo.de>:
> > > > > > >
> > > > > > >> I really like Alpine. Gives you apk as well but is really down
> > to
> > > > the
> > > > > > core
> > > > > > >> without any useless ballast.
> > > > > > >>
> > > > > > >> LieGrue,
> > > > > > >> strub
> > > > > > >>
> > > > > > >>
> > > > > > >>> Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <
> > > > > > rmannibucau@gmail.com
> > > > > > >>> :
> > > > > > >>>
> > > > > > >>> debian is more known IMO but not sure it changes much things
> > for
> > > > > final
> > > > > > >>> users, what's your opinion Alex?
> > > > > > >>>
> > > > > > >>>
> > > > > > >>> Romain Manni-Bucau
> > > > > > >>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > > >>> <http://rmannibucau.wordpress.com> | Github <
> > > > > > >> https://github.com/rmannibucau> |
> > > > > > >>> LinkedIn <https://www.linkedin.com/in/rmannibucau> |
> > Tomitriber
> > > > > > >>> <http://www.tomitribe.com>
> > > > > > >>>
> > > > > > >>> 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
> > > > > > >>>
> > > > > > >>>> Guys what do you prefer for official Docker image. Be light
> > with
> > > > > > Alpine
> > > > > > >> or
> > > > > > >>>> be versatile with Debian?
> > > > > > >>>>
> > > > > > >>>> El dl., 22 juny 2015 a les 23:59, Alex Soto (<
> > asotobu@gmail.com
> > > >)
> > > > > va
> > > > > > >>>> escriure:
> > > > > > >>>>
> > > > > > >>>>> Thanks well I am still not 100% happy, what I am wondering
> is
> > > if
> > > > > > debian
> > > > > > >>>>> image or alpine image. I m hesitant about this :)
> > > > > > >>>>>
> > > > > > >>>>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> > > > > > >>>>> jlmonteiro@tomitribe.com>) va escriure:
> > > > > > >>>>>
> > > > > > >>>>>> This is awesome Alex.
> > > > > > >>>>>> Thanks for driving this from start to end.
> > > > > > >>>>>>
> > > > > > >>>>>> Really great contribution.
> > > > > > >>>>>>
> > > > > > >>>>>> --
> > > > > > >>>>>> Jean-Louis Monteiro
> > > > > > >>>>>> http://twitter.com/jlouismonteiro
> > > > > > >>>>>> http://www.tomitribe.com
> > > > > > >>>>>>
> > > > > > >>>>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <
> > > asotobu@gmail.com>
> > > > > > >> wrote:
> > > > > > >>>>>>
> > > > > > >>>>>>> Hi mates I have been working on creating a TomEE image in
> > > > Docker.
> > > > > > >>>>>>> I am closely to be able to release an Apache TomEE
> official
> > > > > > >> repository
> > > > > > >>>>>> on
> > > > > > >>>>>>> docker hub, but I prefer you take a look first.
> > > > > > >>>>>>>
> > > > > > >>>>>>> First of all I have decided to change from official
> openjdk
> > > > image
> > > > > > >>>> which
> > > > > > >>>>>> is
> > > > > > >>>>>>> based on debian, to official Alpine image. This change is
> > > > pretty
> > > > > > >>>> simple,
> > > > > > >>>>>>> the Alpine docker image is a light docker image (only
> 5MB)
> > > and
> > > > > > >>>> following
> > > > > > >>>>>>> the philosophy of TomEE of light yet powerful
> > distribution, I
> > > > > think
> > > > > > >>>>>> this is
> > > > > > >>>>>>> a really good movement in these terms. Now the TomEE
> Docker
> > > > image
> > > > > > is
> > > > > > >>>>>> 200MB
> > > > > > >>>>>>> less than the one using Debian. Concretely 191MB in front
> > of
> > > > > 379MB.
> > > > > > >>>>>>>
> > > > > > >>>>>>> Let me share with you the Dockerfile content:
> > > > > > >>>>>>>
> > > > > > >>>>>>> FROM alpine:3.2
> > > > > > >>>>>>>
> > > > > > >>>>>>> RUN apk --update add bash
> > > > > > >>>>>>> RUN apk --update add curl
> > > > > > >>>>>>> RUN apk --update add openjdk7
> > > > > > >>>>>>> RUN apk --update add gnupg
> > > > > > >>>>>>>
> > > > > > >>>>>>> # add our user and group first to make sure their IDs get
> > > > > assigned
> > > > > > >>>>>>> consistently, regardless of whatever dependencies get
> added
> > > > > > >>>>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
> > > > > > >>>>>>>
> > > > > > >>>>>>> ENV PATH /usr/local/tomee/bin:$PATH
> > > > > > >>>>>>> RUN mkdir -p /usr/local/tomee
> > > > > > >>>>>>> RUN chown tomee:tomee /usr/local/tomee
> > > > > > >>>>>>> WORKDIR /usr/local/tomee
> > > > > > >>>>>>> USER tomee
> > > > > > >>>>>>>
> > > > > > >>>>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o
> > KEYS \
> > > > > > >>>>>>>       && gpg --import KEYS
> > > > > > >>>>>>>
> > > > > > >>>>>>> RUN curl -SL
> > > > > > >>>>>>>
> > > > > > >>>>>>>
> > > > > > >>>>>>
> > > > > > >>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> > > > > > >>>>>>> -o
> > > > > > >>>>>>> tomee.tar.gz.asc
> > > > > > >>>>>>>
> > > > > > >>>>>>> RUN curl -SL
> > > > > > >>>>>>>
> > > > > > >>>>>>>
> > > > > > >>>>>>
> > > > > > >>>>
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> > > > > > >>>>>>> -o
> > > > > > >>>>>>> tomee.tar.gz \
> > > > > > >>>>>>>       && tar -zxvf tomee.tar.gz  \
> > > > > > >>>>>>>       && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> > > > > > >>>>>>>       && mv apache-tomee-webprofile-1.7.2/*
> > /usr/local/tomee
> > > \
> > > > > > >>>>>>>       && rm -Rf apache-tomee-plus-1.7.2 \
> > > > > > >>>>>>>       && rm bin/*.bat \
> > > > > > >>>>>>>       && rm tomee.tar.gz*
> > > > > > >>>>>>>
> > > > > > >>>>>>> EXPOSE 8080
> > > > > > >>>>>>> CMD ["catalina.sh", "run"]
> > > > > > >>>>>>>
> > > > > > >>>>>>> But it has two drawback is that alpine 3.2 still don't
> have
> > > > > support
> > > > > > >> in
> > > > > > >>>>>> APK
> > > > > > >>>>>>> for openjdk8, but it will be added for alpine 3.3 so I am
> > > quite
> > > > > > >>>>>> confident
> > > > > > >>>>>>> that the best way to proceed is wait until it is released
> > and
> > > > > then
> > > > > > >>>>>> update
> > > > > > >>>>>>> our Dockerfile and finally release our image as official
> > > image
> > > > > with
> > > > > > >>>>>>> OpenJDK8.
> > > > > > >>>>>>>
> > > > > > >>>>>>> The second problem is that we are setting alpine linux as
> > > > default
> > > > > > >>>> image
> > > > > > >>>>>> in
> > > > > > >>>>>>> our distribution and not a more popular like Debian.
> > > > > > >>>>>>>
> > > > > > >>>>>>> Another message I have seen while creating the image was
> > this
> > > > > one:
> > > > > > >>>>>>>
> > > > > > >>>>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using
> DSA
> > > key
> > > > ID
> > > > > > >>>>>> D297D428
> > > > > > >>>>>>> gpg: Good signature from "Jonathan Gallimore <
> > > > > > jgallimore@apache.org
> > > > > > >>> "
> > > > > > >>>>>>> [unknown]
> > > > > > >>>>>>> gpg: WARNING: This key is not certified with a trusted
> > > > signature!
> > > > > > >>>>>>> gpg:          There is no indication that the signature
> > > belongs
> > > > > to
> > > > > > >> the
> > > > > > >>>>>>> owner.
> > > > > > >>>>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025
> > C8BB
> > > > 472C
> > > > > > >> D297
> > > > > > >>>>>> D428
> > > > > > >>>>>>>
> > > > > > >>>>>>> I don't know if Jonathan's key was not created by a
> trusted
> > > > key.
> > > > > > >>>>>>>
> > > > > > >>>>>>> Well that's all, let me know what you think about this
> > change
> > > > or
> > > > > > what
> > > > > > >>>>>> you
> > > > > > >>>>>>> would like to see in official TomEE image.
> > > > > > >>>>>>>
> > > > > > >>>>>>> Alex.
> > > > > > >>>>>>>
> > > > > > >>>>>>
> > > > > > >>>>>
> > > > > > >>>>
> > > > > > >>
> > > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>



-- 
Adam Cornett
adam.cornett@gmail.com
(678) 296-1150

Re: Apache TomEE official image

Posted by Alex Soto <as...@gmail.com>.
Well it is an official image, not sure if people would use for demos only
or not.

El dc., 24 juny 2015 a les 8:47, Andy Gumbrecht (<ag...@tomitribe.com>)
va escriure:

> Sure, but I know at least one interested party that will want to add
> substantial packages. So they would need their own image I guess. If this
> lightweight image is just for demos and showcasing, then sure, as small as
> possible.
>
> http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
> On 23 Jun 2015 23:38, "Jean-Louis Monteiro" <jl...@tomitribe.com>
> wrote:
>
> > Let's refine if it helps.
> > Alpine is lightweight and sounds like closer to what TomEE tries to do.
> >
> > +1 for Alpine then
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> > On Tue, Jun 23, 2015 at 5:16 PM, Alex Soto <as...@gmail.com> wrote:
> >
> > > Ok so we have Jean-Louis and Romain that we can say they are neutral,
> > Mark
> > > for alpine and Andy for Debian.
> > > For me Alpine is the best one in terms of performance but we are tight
> to
> > > apk which is far always from being as good as debian apt get
> > > El dt., 23 de juny, 2015 a les 21.25 Andy Gumbrecht <
> > > agumbrecht@tomitribe.com> va escriure:
> > >
> > > > Jumping in late. This image will be used as a foundation for others
> to
> > > > extend with many different features. Therefore I think the image
> should
> > > > provide as much flexibility as possible
> > > >
> > > > Thanks for all your work Alex.
> > > >
> > > > Andy.
> > > >
> > > > http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
> > > > On 23 Jun 2015 17:26, "Mark Struberg" <st...@yahoo.de> wrote:
> > > >
> > > > > almost nothing.
> > > > > 2 Dockerfiles and a bit of storage ;)
> > > > >
> > > > > LieGrue,
> > > > > strub
> > > > >
> > > > >
> > > > > > Am 23.06.2015 um 17:48 schrieb Romain Manni-Bucau <
> > > > rmannibucau@gmail.com
> > > > > >:
> > > > > >
> > > > > > what's the cost of havingboth BTW?
> > > > > >
> > > > > >
> > > > > > Romain Manni-Bucau
> > > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > > https://github.com/rmannibucau> |
> > > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > > > > <http://www.tomitribe.com>
> > > > > >
> > > > > > 2015-06-23 17:46 GMT+02:00 Mark Struberg <st...@yahoo.de>:
> > > > > >
> > > > > >> I really like Alpine. Gives you apk as well but is really down
> to
> > > the
> > > > > core
> > > > > >> without any useless ballast.
> > > > > >>
> > > > > >> LieGrue,
> > > > > >> strub
> > > > > >>
> > > > > >>
> > > > > >>> Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <
> > > > > rmannibucau@gmail.com
> > > > > >>> :
> > > > > >>>
> > > > > >>> debian is more known IMO but not sure it changes much things
> for
> > > > final
> > > > > >>> users, what's your opinion Alex?
> > > > > >>>
> > > > > >>>
> > > > > >>> Romain Manni-Bucau
> > > > > >>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > >>> <http://rmannibucau.wordpress.com> | Github <
> > > > > >> https://github.com/rmannibucau> |
> > > > > >>> LinkedIn <https://www.linkedin.com/in/rmannibucau> |
> Tomitriber
> > > > > >>> <http://www.tomitribe.com>
> > > > > >>>
> > > > > >>> 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
> > > > > >>>
> > > > > >>>> Guys what do you prefer for official Docker image. Be light
> with
> > > > > Alpine
> > > > > >> or
> > > > > >>>> be versatile with Debian?
> > > > > >>>>
> > > > > >>>> El dl., 22 juny 2015 a les 23:59, Alex Soto (<
> asotobu@gmail.com
> > >)
> > > > va
> > > > > >>>> escriure:
> > > > > >>>>
> > > > > >>>>> Thanks well I am still not 100% happy, what I am wondering is
> > if
> > > > > debian
> > > > > >>>>> image or alpine image. I m hesitant about this :)
> > > > > >>>>>
> > > > > >>>>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> > > > > >>>>> jlmonteiro@tomitribe.com>) va escriure:
> > > > > >>>>>
> > > > > >>>>>> This is awesome Alex.
> > > > > >>>>>> Thanks for driving this from start to end.
> > > > > >>>>>>
> > > > > >>>>>> Really great contribution.
> > > > > >>>>>>
> > > > > >>>>>> --
> > > > > >>>>>> Jean-Louis Monteiro
> > > > > >>>>>> http://twitter.com/jlouismonteiro
> > > > > >>>>>> http://www.tomitribe.com
> > > > > >>>>>>
> > > > > >>>>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <
> > asotobu@gmail.com>
> > > > > >> wrote:
> > > > > >>>>>>
> > > > > >>>>>>> Hi mates I have been working on creating a TomEE image in
> > > Docker.
> > > > > >>>>>>> I am closely to be able to release an Apache TomEE official
> > > > > >> repository
> > > > > >>>>>> on
> > > > > >>>>>>> docker hub, but I prefer you take a look first.
> > > > > >>>>>>>
> > > > > >>>>>>> First of all I have decided to change from official openjdk
> > > image
> > > > > >>>> which
> > > > > >>>>>> is
> > > > > >>>>>>> based on debian, to official Alpine image. This change is
> > > pretty
> > > > > >>>> simple,
> > > > > >>>>>>> the Alpine docker image is a light docker image (only 5MB)
> > and
> > > > > >>>> following
> > > > > >>>>>>> the philosophy of TomEE of light yet powerful
> distribution, I
> > > > think
> > > > > >>>>>> this is
> > > > > >>>>>>> a really good movement in these terms. Now the TomEE Docker
> > > image
> > > > > is
> > > > > >>>>>> 200MB
> > > > > >>>>>>> less than the one using Debian. Concretely 191MB in front
> of
> > > > 379MB.
> > > > > >>>>>>>
> > > > > >>>>>>> Let me share with you the Dockerfile content:
> > > > > >>>>>>>
> > > > > >>>>>>> FROM alpine:3.2
> > > > > >>>>>>>
> > > > > >>>>>>> RUN apk --update add bash
> > > > > >>>>>>> RUN apk --update add curl
> > > > > >>>>>>> RUN apk --update add openjdk7
> > > > > >>>>>>> RUN apk --update add gnupg
> > > > > >>>>>>>
> > > > > >>>>>>> # add our user and group first to make sure their IDs get
> > > > assigned
> > > > > >>>>>>> consistently, regardless of whatever dependencies get added
> > > > > >>>>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
> > > > > >>>>>>>
> > > > > >>>>>>> ENV PATH /usr/local/tomee/bin:$PATH
> > > > > >>>>>>> RUN mkdir -p /usr/local/tomee
> > > > > >>>>>>> RUN chown tomee:tomee /usr/local/tomee
> > > > > >>>>>>> WORKDIR /usr/local/tomee
> > > > > >>>>>>> USER tomee
> > > > > >>>>>>>
> > > > > >>>>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o
> KEYS \
> > > > > >>>>>>>       && gpg --import KEYS
> > > > > >>>>>>>
> > > > > >>>>>>> RUN curl -SL
> > > > > >>>>>>>
> > > > > >>>>>>>
> > > > > >>>>>>
> > > > > >>>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> > > > > >>>>>>> -o
> > > > > >>>>>>> tomee.tar.gz.asc
> > > > > >>>>>>>
> > > > > >>>>>>> RUN curl -SL
> > > > > >>>>>>>
> > > > > >>>>>>>
> > > > > >>>>>>
> > > > > >>>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> > > > > >>>>>>> -o
> > > > > >>>>>>> tomee.tar.gz \
> > > > > >>>>>>>       && tar -zxvf tomee.tar.gz  \
> > > > > >>>>>>>       && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> > > > > >>>>>>>       && mv apache-tomee-webprofile-1.7.2/*
> /usr/local/tomee
> > \
> > > > > >>>>>>>       && rm -Rf apache-tomee-plus-1.7.2 \
> > > > > >>>>>>>       && rm bin/*.bat \
> > > > > >>>>>>>       && rm tomee.tar.gz*
> > > > > >>>>>>>
> > > > > >>>>>>> EXPOSE 8080
> > > > > >>>>>>> CMD ["catalina.sh", "run"]
> > > > > >>>>>>>
> > > > > >>>>>>> But it has two drawback is that alpine 3.2 still don't have
> > > > support
> > > > > >> in
> > > > > >>>>>> APK
> > > > > >>>>>>> for openjdk8, but it will be added for alpine 3.3 so I am
> > quite
> > > > > >>>>>> confident
> > > > > >>>>>>> that the best way to proceed is wait until it is released
> and
> > > > then
> > > > > >>>>>> update
> > > > > >>>>>>> our Dockerfile and finally release our image as official
> > image
> > > > with
> > > > > >>>>>>> OpenJDK8.
> > > > > >>>>>>>
> > > > > >>>>>>> The second problem is that we are setting alpine linux as
> > > default
> > > > > >>>> image
> > > > > >>>>>> in
> > > > > >>>>>>> our distribution and not a more popular like Debian.
> > > > > >>>>>>>
> > > > > >>>>>>> Another message I have seen while creating the image was
> this
> > > > one:
> > > > > >>>>>>>
> > > > > >>>>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA
> > key
> > > ID
> > > > > >>>>>> D297D428
> > > > > >>>>>>> gpg: Good signature from "Jonathan Gallimore <
> > > > > jgallimore@apache.org
> > > > > >>> "
> > > > > >>>>>>> [unknown]
> > > > > >>>>>>> gpg: WARNING: This key is not certified with a trusted
> > > signature!
> > > > > >>>>>>> gpg:          There is no indication that the signature
> > belongs
> > > > to
> > > > > >> the
> > > > > >>>>>>> owner.
> > > > > >>>>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025
> C8BB
> > > 472C
> > > > > >> D297
> > > > > >>>>>> D428
> > > > > >>>>>>>
> > > > > >>>>>>> I don't know if Jonathan's key was not created by a trusted
> > > key.
> > > > > >>>>>>>
> > > > > >>>>>>> Well that's all, let me know what you think about this
> change
> > > or
> > > > > what
> > > > > >>>>>> you
> > > > > >>>>>>> would like to see in official TomEE image.
> > > > > >>>>>>>
> > > > > >>>>>>> Alex.
> > > > > >>>>>>>
> > > > > >>>>>>
> > > > > >>>>>
> > > > > >>>>
> > > > > >>
> > > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: Apache TomEE official image

Posted by Andy Gumbrecht <ag...@tomitribe.com>.
Sure, but I know at least one interested party that will want to add
substantial packages. So they would need their own image I guess. If this
lightweight image is just for demos and showcasing, then sure, as small as
possible.

http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
On 23 Jun 2015 23:38, "Jean-Louis Monteiro" <jl...@tomitribe.com>
wrote:

> Let's refine if it helps.
> Alpine is lightweight and sounds like closer to what TomEE tries to do.
>
> +1 for Alpine then
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
> On Tue, Jun 23, 2015 at 5:16 PM, Alex Soto <as...@gmail.com> wrote:
>
> > Ok so we have Jean-Louis and Romain that we can say they are neutral,
> Mark
> > for alpine and Andy for Debian.
> > For me Alpine is the best one in terms of performance but we are tight to
> > apk which is far always from being as good as debian apt get
> > El dt., 23 de juny, 2015 a les 21.25 Andy Gumbrecht <
> > agumbrecht@tomitribe.com> va escriure:
> >
> > > Jumping in late. This image will be used as a foundation for others to
> > > extend with many different features. Therefore I think the image should
> > > provide as much flexibility as possible
> > >
> > > Thanks for all your work Alex.
> > >
> > > Andy.
> > >
> > > http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
> > > On 23 Jun 2015 17:26, "Mark Struberg" <st...@yahoo.de> wrote:
> > >
> > > > almost nothing.
> > > > 2 Dockerfiles and a bit of storage ;)
> > > >
> > > > LieGrue,
> > > > strub
> > > >
> > > >
> > > > > Am 23.06.2015 um 17:48 schrieb Romain Manni-Bucau <
> > > rmannibucau@gmail.com
> > > > >:
> > > > >
> > > > > what's the cost of havingboth BTW?
> > > > >
> > > > >
> > > > > Romain Manni-Bucau
> > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > https://github.com/rmannibucau> |
> > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > > > <http://www.tomitribe.com>
> > > > >
> > > > > 2015-06-23 17:46 GMT+02:00 Mark Struberg <st...@yahoo.de>:
> > > > >
> > > > >> I really like Alpine. Gives you apk as well but is really down to
> > the
> > > > core
> > > > >> without any useless ballast.
> > > > >>
> > > > >> LieGrue,
> > > > >> strub
> > > > >>
> > > > >>
> > > > >>> Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <
> > > > rmannibucau@gmail.com
> > > > >>> :
> > > > >>>
> > > > >>> debian is more known IMO but not sure it changes much things for
> > > final
> > > > >>> users, what's your opinion Alex?
> > > > >>>
> > > > >>>
> > > > >>> Romain Manni-Bucau
> > > > >>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > >>> <http://rmannibucau.wordpress.com> | Github <
> > > > >> https://github.com/rmannibucau> |
> > > > >>> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > > >>> <http://www.tomitribe.com>
> > > > >>>
> > > > >>> 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
> > > > >>>
> > > > >>>> Guys what do you prefer for official Docker image. Be light with
> > > > Alpine
> > > > >> or
> > > > >>>> be versatile with Debian?
> > > > >>>>
> > > > >>>> El dl., 22 juny 2015 a les 23:59, Alex Soto (<asotobu@gmail.com
> >)
> > > va
> > > > >>>> escriure:
> > > > >>>>
> > > > >>>>> Thanks well I am still not 100% happy, what I am wondering is
> if
> > > > debian
> > > > >>>>> image or alpine image. I m hesitant about this :)
> > > > >>>>>
> > > > >>>>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> > > > >>>>> jlmonteiro@tomitribe.com>) va escriure:
> > > > >>>>>
> > > > >>>>>> This is awesome Alex.
> > > > >>>>>> Thanks for driving this from start to end.
> > > > >>>>>>
> > > > >>>>>> Really great contribution.
> > > > >>>>>>
> > > > >>>>>> --
> > > > >>>>>> Jean-Louis Monteiro
> > > > >>>>>> http://twitter.com/jlouismonteiro
> > > > >>>>>> http://www.tomitribe.com
> > > > >>>>>>
> > > > >>>>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <
> asotobu@gmail.com>
> > > > >> wrote:
> > > > >>>>>>
> > > > >>>>>>> Hi mates I have been working on creating a TomEE image in
> > Docker.
> > > > >>>>>>> I am closely to be able to release an Apache TomEE official
> > > > >> repository
> > > > >>>>>> on
> > > > >>>>>>> docker hub, but I prefer you take a look first.
> > > > >>>>>>>
> > > > >>>>>>> First of all I have decided to change from official openjdk
> > image
> > > > >>>> which
> > > > >>>>>> is
> > > > >>>>>>> based on debian, to official Alpine image. This change is
> > pretty
> > > > >>>> simple,
> > > > >>>>>>> the Alpine docker image is a light docker image (only 5MB)
> and
> > > > >>>> following
> > > > >>>>>>> the philosophy of TomEE of light yet powerful distribution, I
> > > think
> > > > >>>>>> this is
> > > > >>>>>>> a really good movement in these terms. Now the TomEE Docker
> > image
> > > > is
> > > > >>>>>> 200MB
> > > > >>>>>>> less than the one using Debian. Concretely 191MB in front of
> > > 379MB.
> > > > >>>>>>>
> > > > >>>>>>> Let me share with you the Dockerfile content:
> > > > >>>>>>>
> > > > >>>>>>> FROM alpine:3.2
> > > > >>>>>>>
> > > > >>>>>>> RUN apk --update add bash
> > > > >>>>>>> RUN apk --update add curl
> > > > >>>>>>> RUN apk --update add openjdk7
> > > > >>>>>>> RUN apk --update add gnupg
> > > > >>>>>>>
> > > > >>>>>>> # add our user and group first to make sure their IDs get
> > > assigned
> > > > >>>>>>> consistently, regardless of whatever dependencies get added
> > > > >>>>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
> > > > >>>>>>>
> > > > >>>>>>> ENV PATH /usr/local/tomee/bin:$PATH
> > > > >>>>>>> RUN mkdir -p /usr/local/tomee
> > > > >>>>>>> RUN chown tomee:tomee /usr/local/tomee
> > > > >>>>>>> WORKDIR /usr/local/tomee
> > > > >>>>>>> USER tomee
> > > > >>>>>>>
> > > > >>>>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
> > > > >>>>>>>       && gpg --import KEYS
> > > > >>>>>>>
> > > > >>>>>>> RUN curl -SL
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>>>>>
> > > > >>>>
> > > > >>
> > > >
> > >
> >
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> > > > >>>>>>> -o
> > > > >>>>>>> tomee.tar.gz.asc
> > > > >>>>>>>
> > > > >>>>>>> RUN curl -SL
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>>>>>
> > > > >>>>
> > > > >>
> > > >
> > >
> >
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> > > > >>>>>>> -o
> > > > >>>>>>> tomee.tar.gz \
> > > > >>>>>>>       && tar -zxvf tomee.tar.gz  \
> > > > >>>>>>>       && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> > > > >>>>>>>       && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee
> \
> > > > >>>>>>>       && rm -Rf apache-tomee-plus-1.7.2 \
> > > > >>>>>>>       && rm bin/*.bat \
> > > > >>>>>>>       && rm tomee.tar.gz*
> > > > >>>>>>>
> > > > >>>>>>> EXPOSE 8080
> > > > >>>>>>> CMD ["catalina.sh", "run"]
> > > > >>>>>>>
> > > > >>>>>>> But it has two drawback is that alpine 3.2 still don't have
> > > support
> > > > >> in
> > > > >>>>>> APK
> > > > >>>>>>> for openjdk8, but it will be added for alpine 3.3 so I am
> quite
> > > > >>>>>> confident
> > > > >>>>>>> that the best way to proceed is wait until it is released and
> > > then
> > > > >>>>>> update
> > > > >>>>>>> our Dockerfile and finally release our image as official
> image
> > > with
> > > > >>>>>>> OpenJDK8.
> > > > >>>>>>>
> > > > >>>>>>> The second problem is that we are setting alpine linux as
> > default
> > > > >>>> image
> > > > >>>>>> in
> > > > >>>>>>> our distribution and not a more popular like Debian.
> > > > >>>>>>>
> > > > >>>>>>> Another message I have seen while creating the image was this
> > > one:
> > > > >>>>>>>
> > > > >>>>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA
> key
> > ID
> > > > >>>>>> D297D428
> > > > >>>>>>> gpg: Good signature from "Jonathan Gallimore <
> > > > jgallimore@apache.org
> > > > >>> "
> > > > >>>>>>> [unknown]
> > > > >>>>>>> gpg: WARNING: This key is not certified with a trusted
> > signature!
> > > > >>>>>>> gpg:          There is no indication that the signature
> belongs
> > > to
> > > > >> the
> > > > >>>>>>> owner.
> > > > >>>>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB
> > 472C
> > > > >> D297
> > > > >>>>>> D428
> > > > >>>>>>>
> > > > >>>>>>> I don't know if Jonathan's key was not created by a trusted
> > key.
> > > > >>>>>>>
> > > > >>>>>>> Well that's all, let me know what you think about this change
> > or
> > > > what
> > > > >>>>>> you
> > > > >>>>>>> would like to see in official TomEE image.
> > > > >>>>>>>
> > > > >>>>>>> Alex.
> > > > >>>>>>>
> > > > >>>>>>
> > > > >>>>>
> > > > >>>>
> > > > >>
> > > > >>
> > > >
> > > >
> > >
> >
>

Re: Apache TomEE official image

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
Let's refine if it helps.
Alpine is lightweight and sounds like closer to what TomEE tries to do.

+1 for Alpine then

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com

On Tue, Jun 23, 2015 at 5:16 PM, Alex Soto <as...@gmail.com> wrote:

> Ok so we have Jean-Louis and Romain that we can say they are neutral, Mark
> for alpine and Andy for Debian.
> For me Alpine is the best one in terms of performance but we are tight to
> apk which is far always from being as good as debian apt get
> El dt., 23 de juny, 2015 a les 21.25 Andy Gumbrecht <
> agumbrecht@tomitribe.com> va escriure:
>
> > Jumping in late. This image will be used as a foundation for others to
> > extend with many different features. Therefore I think the image should
> > provide as much flexibility as possible
> >
> > Thanks for all your work Alex.
> >
> > Andy.
> >
> > http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
> > On 23 Jun 2015 17:26, "Mark Struberg" <st...@yahoo.de> wrote:
> >
> > > almost nothing.
> > > 2 Dockerfiles and a bit of storage ;)
> > >
> > > LieGrue,
> > > strub
> > >
> > >
> > > > Am 23.06.2015 um 17:48 schrieb Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > > >:
> > > >
> > > > what's the cost of havingboth BTW?
> > > >
> > > >
> > > > Romain Manni-Bucau
> > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > <http://rmannibucau.wordpress.com> | Github <
> > > https://github.com/rmannibucau> |
> > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > > <http://www.tomitribe.com>
> > > >
> > > > 2015-06-23 17:46 GMT+02:00 Mark Struberg <st...@yahoo.de>:
> > > >
> > > >> I really like Alpine. Gives you apk as well but is really down to
> the
> > > core
> > > >> without any useless ballast.
> > > >>
> > > >> LieGrue,
> > > >> strub
> > > >>
> > > >>
> > > >>> Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <
> > > rmannibucau@gmail.com
> > > >>> :
> > > >>>
> > > >>> debian is more known IMO but not sure it changes much things for
> > final
> > > >>> users, what's your opinion Alex?
> > > >>>
> > > >>>
> > > >>> Romain Manni-Bucau
> > > >>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > >>> <http://rmannibucau.wordpress.com> | Github <
> > > >> https://github.com/rmannibucau> |
> > > >>> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > >>> <http://www.tomitribe.com>
> > > >>>
> > > >>> 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
> > > >>>
> > > >>>> Guys what do you prefer for official Docker image. Be light with
> > > Alpine
> > > >> or
> > > >>>> be versatile with Debian?
> > > >>>>
> > > >>>> El dl., 22 juny 2015 a les 23:59, Alex Soto (<as...@gmail.com>)
> > va
> > > >>>> escriure:
> > > >>>>
> > > >>>>> Thanks well I am still not 100% happy, what I am wondering is if
> > > debian
> > > >>>>> image or alpine image. I m hesitant about this :)
> > > >>>>>
> > > >>>>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> > > >>>>> jlmonteiro@tomitribe.com>) va escriure:
> > > >>>>>
> > > >>>>>> This is awesome Alex.
> > > >>>>>> Thanks for driving this from start to end.
> > > >>>>>>
> > > >>>>>> Really great contribution.
> > > >>>>>>
> > > >>>>>> --
> > > >>>>>> Jean-Louis Monteiro
> > > >>>>>> http://twitter.com/jlouismonteiro
> > > >>>>>> http://www.tomitribe.com
> > > >>>>>>
> > > >>>>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com>
> > > >> wrote:
> > > >>>>>>
> > > >>>>>>> Hi mates I have been working on creating a TomEE image in
> Docker.
> > > >>>>>>> I am closely to be able to release an Apache TomEE official
> > > >> repository
> > > >>>>>> on
> > > >>>>>>> docker hub, but I prefer you take a look first.
> > > >>>>>>>
> > > >>>>>>> First of all I have decided to change from official openjdk
> image
> > > >>>> which
> > > >>>>>> is
> > > >>>>>>> based on debian, to official Alpine image. This change is
> pretty
> > > >>>> simple,
> > > >>>>>>> the Alpine docker image is a light docker image (only 5MB) and
> > > >>>> following
> > > >>>>>>> the philosophy of TomEE of light yet powerful distribution, I
> > think
> > > >>>>>> this is
> > > >>>>>>> a really good movement in these terms. Now the TomEE Docker
> image
> > > is
> > > >>>>>> 200MB
> > > >>>>>>> less than the one using Debian. Concretely 191MB in front of
> > 379MB.
> > > >>>>>>>
> > > >>>>>>> Let me share with you the Dockerfile content:
> > > >>>>>>>
> > > >>>>>>> FROM alpine:3.2
> > > >>>>>>>
> > > >>>>>>> RUN apk --update add bash
> > > >>>>>>> RUN apk --update add curl
> > > >>>>>>> RUN apk --update add openjdk7
> > > >>>>>>> RUN apk --update add gnupg
> > > >>>>>>>
> > > >>>>>>> # add our user and group first to make sure their IDs get
> > assigned
> > > >>>>>>> consistently, regardless of whatever dependencies get added
> > > >>>>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
> > > >>>>>>>
> > > >>>>>>> ENV PATH /usr/local/tomee/bin:$PATH
> > > >>>>>>> RUN mkdir -p /usr/local/tomee
> > > >>>>>>> RUN chown tomee:tomee /usr/local/tomee
> > > >>>>>>> WORKDIR /usr/local/tomee
> > > >>>>>>> USER tomee
> > > >>>>>>>
> > > >>>>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
> > > >>>>>>>       && gpg --import KEYS
> > > >>>>>>>
> > > >>>>>>> RUN curl -SL
> > > >>>>>>>
> > > >>>>>>>
> > > >>>>>>
> > > >>>>
> > > >>
> > >
> >
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> > > >>>>>>> -o
> > > >>>>>>> tomee.tar.gz.asc
> > > >>>>>>>
> > > >>>>>>> RUN curl -SL
> > > >>>>>>>
> > > >>>>>>>
> > > >>>>>>
> > > >>>>
> > > >>
> > >
> >
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> > > >>>>>>> -o
> > > >>>>>>> tomee.tar.gz \
> > > >>>>>>>       && tar -zxvf tomee.tar.gz  \
> > > >>>>>>>       && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> > > >>>>>>>       && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
> > > >>>>>>>       && rm -Rf apache-tomee-plus-1.7.2 \
> > > >>>>>>>       && rm bin/*.bat \
> > > >>>>>>>       && rm tomee.tar.gz*
> > > >>>>>>>
> > > >>>>>>> EXPOSE 8080
> > > >>>>>>> CMD ["catalina.sh", "run"]
> > > >>>>>>>
> > > >>>>>>> But it has two drawback is that alpine 3.2 still don't have
> > support
> > > >> in
> > > >>>>>> APK
> > > >>>>>>> for openjdk8, but it will be added for alpine 3.3 so I am quite
> > > >>>>>> confident
> > > >>>>>>> that the best way to proceed is wait until it is released and
> > then
> > > >>>>>> update
> > > >>>>>>> our Dockerfile and finally release our image as official image
> > with
> > > >>>>>>> OpenJDK8.
> > > >>>>>>>
> > > >>>>>>> The second problem is that we are setting alpine linux as
> default
> > > >>>> image
> > > >>>>>> in
> > > >>>>>>> our distribution and not a more popular like Debian.
> > > >>>>>>>
> > > >>>>>>> Another message I have seen while creating the image was this
> > one:
> > > >>>>>>>
> > > >>>>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key
> ID
> > > >>>>>> D297D428
> > > >>>>>>> gpg: Good signature from "Jonathan Gallimore <
> > > jgallimore@apache.org
> > > >>> "
> > > >>>>>>> [unknown]
> > > >>>>>>> gpg: WARNING: This key is not certified with a trusted
> signature!
> > > >>>>>>> gpg:          There is no indication that the signature belongs
> > to
> > > >> the
> > > >>>>>>> owner.
> > > >>>>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB
> 472C
> > > >> D297
> > > >>>>>> D428
> > > >>>>>>>
> > > >>>>>>> I don't know if Jonathan's key was not created by a trusted
> key.
> > > >>>>>>>
> > > >>>>>>> Well that's all, let me know what you think about this change
> or
> > > what
> > > >>>>>> you
> > > >>>>>>> would like to see in official TomEE image.
> > > >>>>>>>
> > > >>>>>>> Alex.
> > > >>>>>>>
> > > >>>>>>
> > > >>>>>
> > > >>>>
> > > >>
> > > >>
> > >
> > >
> >
>

Re: Apache TomEE official image

Posted by Alex Soto <as...@gmail.com>.
Ok so we have Jean-Louis and Romain that we can say they are neutral, Mark
for alpine and Andy for Debian.
For me Alpine is the best one in terms of performance but we are tight to
apk which is far always from being as good as debian apt get
El dt., 23 de juny, 2015 a les 21.25 Andy Gumbrecht <
agumbrecht@tomitribe.com> va escriure:

> Jumping in late. This image will be used as a foundation for others to
> extend with many different features. Therefore I think the image should
> provide as much flexibility as possible
>
> Thanks for all your work Alex.
>
> Andy.
>
> http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
> On 23 Jun 2015 17:26, "Mark Struberg" <st...@yahoo.de> wrote:
>
> > almost nothing.
> > 2 Dockerfiles and a bit of storage ;)
> >
> > LieGrue,
> > strub
> >
> >
> > > Am 23.06.2015 um 17:48 schrieb Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >:
> > >
> > > what's the cost of havingboth BTW?
> > >
> > >
> > > Romain Manni-Bucau
> > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > <http://rmannibucau.wordpress.com> | Github <
> > https://github.com/rmannibucau> |
> > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > <http://www.tomitribe.com>
> > >
> > > 2015-06-23 17:46 GMT+02:00 Mark Struberg <st...@yahoo.de>:
> > >
> > >> I really like Alpine. Gives you apk as well but is really down to the
> > core
> > >> without any useless ballast.
> > >>
> > >> LieGrue,
> > >> strub
> > >>
> > >>
> > >>> Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > >>> :
> > >>>
> > >>> debian is more known IMO but not sure it changes much things for
> final
> > >>> users, what's your opinion Alex?
> > >>>
> > >>>
> > >>> Romain Manni-Bucau
> > >>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > >>> <http://rmannibucau.wordpress.com> | Github <
> > >> https://github.com/rmannibucau> |
> > >>> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > >>> <http://www.tomitribe.com>
> > >>>
> > >>> 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
> > >>>
> > >>>> Guys what do you prefer for official Docker image. Be light with
> > Alpine
> > >> or
> > >>>> be versatile with Debian?
> > >>>>
> > >>>> El dl., 22 juny 2015 a les 23:59, Alex Soto (<as...@gmail.com>)
> va
> > >>>> escriure:
> > >>>>
> > >>>>> Thanks well I am still not 100% happy, what I am wondering is if
> > debian
> > >>>>> image or alpine image. I m hesitant about this :)
> > >>>>>
> > >>>>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> > >>>>> jlmonteiro@tomitribe.com>) va escriure:
> > >>>>>
> > >>>>>> This is awesome Alex.
> > >>>>>> Thanks for driving this from start to end.
> > >>>>>>
> > >>>>>> Really great contribution.
> > >>>>>>
> > >>>>>> --
> > >>>>>> Jean-Louis Monteiro
> > >>>>>> http://twitter.com/jlouismonteiro
> > >>>>>> http://www.tomitribe.com
> > >>>>>>
> > >>>>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com>
> > >> wrote:
> > >>>>>>
> > >>>>>>> Hi mates I have been working on creating a TomEE image in Docker.
> > >>>>>>> I am closely to be able to release an Apache TomEE official
> > >> repository
> > >>>>>> on
> > >>>>>>> docker hub, but I prefer you take a look first.
> > >>>>>>>
> > >>>>>>> First of all I have decided to change from official openjdk image
> > >>>> which
> > >>>>>> is
> > >>>>>>> based on debian, to official Alpine image. This change is pretty
> > >>>> simple,
> > >>>>>>> the Alpine docker image is a light docker image (only 5MB) and
> > >>>> following
> > >>>>>>> the philosophy of TomEE of light yet powerful distribution, I
> think
> > >>>>>> this is
> > >>>>>>> a really good movement in these terms. Now the TomEE Docker image
> > is
> > >>>>>> 200MB
> > >>>>>>> less than the one using Debian. Concretely 191MB in front of
> 379MB.
> > >>>>>>>
> > >>>>>>> Let me share with you the Dockerfile content:
> > >>>>>>>
> > >>>>>>> FROM alpine:3.2
> > >>>>>>>
> > >>>>>>> RUN apk --update add bash
> > >>>>>>> RUN apk --update add curl
> > >>>>>>> RUN apk --update add openjdk7
> > >>>>>>> RUN apk --update add gnupg
> > >>>>>>>
> > >>>>>>> # add our user and group first to make sure their IDs get
> assigned
> > >>>>>>> consistently, regardless of whatever dependencies get added
> > >>>>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
> > >>>>>>>
> > >>>>>>> ENV PATH /usr/local/tomee/bin:$PATH
> > >>>>>>> RUN mkdir -p /usr/local/tomee
> > >>>>>>> RUN chown tomee:tomee /usr/local/tomee
> > >>>>>>> WORKDIR /usr/local/tomee
> > >>>>>>> USER tomee
> > >>>>>>>
> > >>>>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
> > >>>>>>>       && gpg --import KEYS
> > >>>>>>>
> > >>>>>>> RUN curl -SL
> > >>>>>>>
> > >>>>>>>
> > >>>>>>
> > >>>>
> > >>
> >
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> > >>>>>>> -o
> > >>>>>>> tomee.tar.gz.asc
> > >>>>>>>
> > >>>>>>> RUN curl -SL
> > >>>>>>>
> > >>>>>>>
> > >>>>>>
> > >>>>
> > >>
> >
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> > >>>>>>> -o
> > >>>>>>> tomee.tar.gz \
> > >>>>>>>       && tar -zxvf tomee.tar.gz  \
> > >>>>>>>       && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> > >>>>>>>       && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
> > >>>>>>>       && rm -Rf apache-tomee-plus-1.7.2 \
> > >>>>>>>       && rm bin/*.bat \
> > >>>>>>>       && rm tomee.tar.gz*
> > >>>>>>>
> > >>>>>>> EXPOSE 8080
> > >>>>>>> CMD ["catalina.sh", "run"]
> > >>>>>>>
> > >>>>>>> But it has two drawback is that alpine 3.2 still don't have
> support
> > >> in
> > >>>>>> APK
> > >>>>>>> for openjdk8, but it will be added for alpine 3.3 so I am quite
> > >>>>>> confident
> > >>>>>>> that the best way to proceed is wait until it is released and
> then
> > >>>>>> update
> > >>>>>>> our Dockerfile and finally release our image as official image
> with
> > >>>>>>> OpenJDK8.
> > >>>>>>>
> > >>>>>>> The second problem is that we are setting alpine linux as default
> > >>>> image
> > >>>>>> in
> > >>>>>>> our distribution and not a more popular like Debian.
> > >>>>>>>
> > >>>>>>> Another message I have seen while creating the image was this
> one:
> > >>>>>>>
> > >>>>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID
> > >>>>>> D297D428
> > >>>>>>> gpg: Good signature from "Jonathan Gallimore <
> > jgallimore@apache.org
> > >>> "
> > >>>>>>> [unknown]
> > >>>>>>> gpg: WARNING: This key is not certified with a trusted signature!
> > >>>>>>> gpg:          There is no indication that the signature belongs
> to
> > >> the
> > >>>>>>> owner.
> > >>>>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C
> > >> D297
> > >>>>>> D428
> > >>>>>>>
> > >>>>>>> I don't know if Jonathan's key was not created by a trusted key.
> > >>>>>>>
> > >>>>>>> Well that's all, let me know what you think about this change or
> > what
> > >>>>>> you
> > >>>>>>> would like to see in official TomEE image.
> > >>>>>>>
> > >>>>>>> Alex.
> > >>>>>>>
> > >>>>>>
> > >>>>>
> > >>>>
> > >>
> > >>
> >
> >
>

Re: Apache TomEE official image

Posted by Andy Gumbrecht <ag...@tomitribe.com>.
Jumping in late. This image will be used as a foundation for others to
extend with many different features. Therefore I think the image should
provide as much flexibility as possible

Thanks for all your work Alex.

Andy.

http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
On 23 Jun 2015 17:26, "Mark Struberg" <st...@yahoo.de> wrote:

> almost nothing.
> 2 Dockerfiles and a bit of storage ;)
>
> LieGrue,
> strub
>
>
> > Am 23.06.2015 um 17:48 schrieb Romain Manni-Bucau <rmannibucau@gmail.com
> >:
> >
> > what's the cost of havingboth BTW?
> >
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > <http://www.tomitribe.com>
> >
> > 2015-06-23 17:46 GMT+02:00 Mark Struberg <st...@yahoo.de>:
> >
> >> I really like Alpine. Gives you apk as well but is really down to the
> core
> >> without any useless ballast.
> >>
> >> LieGrue,
> >> strub
> >>
> >>
> >>> Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <
> rmannibucau@gmail.com
> >>> :
> >>>
> >>> debian is more known IMO but not sure it changes much things for final
> >>> users, what's your opinion Alex?
> >>>
> >>>
> >>> Romain Manni-Bucau
> >>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> >>> <http://rmannibucau.wordpress.com> | Github <
> >> https://github.com/rmannibucau> |
> >>> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> >>> <http://www.tomitribe.com>
> >>>
> >>> 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
> >>>
> >>>> Guys what do you prefer for official Docker image. Be light with
> Alpine
> >> or
> >>>> be versatile with Debian?
> >>>>
> >>>> El dl., 22 juny 2015 a les 23:59, Alex Soto (<as...@gmail.com>) va
> >>>> escriure:
> >>>>
> >>>>> Thanks well I am still not 100% happy, what I am wondering is if
> debian
> >>>>> image or alpine image. I m hesitant about this :)
> >>>>>
> >>>>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> >>>>> jlmonteiro@tomitribe.com>) va escriure:
> >>>>>
> >>>>>> This is awesome Alex.
> >>>>>> Thanks for driving this from start to end.
> >>>>>>
> >>>>>> Really great contribution.
> >>>>>>
> >>>>>> --
> >>>>>> Jean-Louis Monteiro
> >>>>>> http://twitter.com/jlouismonteiro
> >>>>>> http://www.tomitribe.com
> >>>>>>
> >>>>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com>
> >> wrote:
> >>>>>>
> >>>>>>> Hi mates I have been working on creating a TomEE image in Docker.
> >>>>>>> I am closely to be able to release an Apache TomEE official
> >> repository
> >>>>>> on
> >>>>>>> docker hub, but I prefer you take a look first.
> >>>>>>>
> >>>>>>> First of all I have decided to change from official openjdk image
> >>>> which
> >>>>>> is
> >>>>>>> based on debian, to official Alpine image. This change is pretty
> >>>> simple,
> >>>>>>> the Alpine docker image is a light docker image (only 5MB) and
> >>>> following
> >>>>>>> the philosophy of TomEE of light yet powerful distribution, I think
> >>>>>> this is
> >>>>>>> a really good movement in these terms. Now the TomEE Docker image
> is
> >>>>>> 200MB
> >>>>>>> less than the one using Debian. Concretely 191MB in front of 379MB.
> >>>>>>>
> >>>>>>> Let me share with you the Dockerfile content:
> >>>>>>>
> >>>>>>> FROM alpine:3.2
> >>>>>>>
> >>>>>>> RUN apk --update add bash
> >>>>>>> RUN apk --update add curl
> >>>>>>> RUN apk --update add openjdk7
> >>>>>>> RUN apk --update add gnupg
> >>>>>>>
> >>>>>>> # add our user and group first to make sure their IDs get assigned
> >>>>>>> consistently, regardless of whatever dependencies get added
> >>>>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
> >>>>>>>
> >>>>>>> ENV PATH /usr/local/tomee/bin:$PATH
> >>>>>>> RUN mkdir -p /usr/local/tomee
> >>>>>>> RUN chown tomee:tomee /usr/local/tomee
> >>>>>>> WORKDIR /usr/local/tomee
> >>>>>>> USER tomee
> >>>>>>>
> >>>>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
> >>>>>>>       && gpg --import KEYS
> >>>>>>>
> >>>>>>> RUN curl -SL
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>
> >>
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> >>>>>>> -o
> >>>>>>> tomee.tar.gz.asc
> >>>>>>>
> >>>>>>> RUN curl -SL
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>
> >>
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> >>>>>>> -o
> >>>>>>> tomee.tar.gz \
> >>>>>>>       && tar -zxvf tomee.tar.gz  \
> >>>>>>>       && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> >>>>>>>       && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
> >>>>>>>       && rm -Rf apache-tomee-plus-1.7.2 \
> >>>>>>>       && rm bin/*.bat \
> >>>>>>>       && rm tomee.tar.gz*
> >>>>>>>
> >>>>>>> EXPOSE 8080
> >>>>>>> CMD ["catalina.sh", "run"]
> >>>>>>>
> >>>>>>> But it has two drawback is that alpine 3.2 still don't have support
> >> in
> >>>>>> APK
> >>>>>>> for openjdk8, but it will be added for alpine 3.3 so I am quite
> >>>>>> confident
> >>>>>>> that the best way to proceed is wait until it is released and then
> >>>>>> update
> >>>>>>> our Dockerfile and finally release our image as official image with
> >>>>>>> OpenJDK8.
> >>>>>>>
> >>>>>>> The second problem is that we are setting alpine linux as default
> >>>> image
> >>>>>> in
> >>>>>>> our distribution and not a more popular like Debian.
> >>>>>>>
> >>>>>>> Another message I have seen while creating the image was this one:
> >>>>>>>
> >>>>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID
> >>>>>> D297D428
> >>>>>>> gpg: Good signature from "Jonathan Gallimore <
> jgallimore@apache.org
> >>> "
> >>>>>>> [unknown]
> >>>>>>> gpg: WARNING: This key is not certified with a trusted signature!
> >>>>>>> gpg:          There is no indication that the signature belongs to
> >> the
> >>>>>>> owner.
> >>>>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C
> >> D297
> >>>>>> D428
> >>>>>>>
> >>>>>>> I don't know if Jonathan's key was not created by a trusted key.
> >>>>>>>
> >>>>>>> Well that's all, let me know what you think about this change or
> what
> >>>>>> you
> >>>>>>> would like to see in official TomEE image.
> >>>>>>>
> >>>>>>> Alex.
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>
> >>
>
>

Re: Apache TomEE official image

Posted by Mark Struberg <st...@yahoo.de>.
almost nothing. 
2 Dockerfiles and a bit of storage ;)

LieGrue,
strub


> Am 23.06.2015 um 17:48 schrieb Romain Manni-Bucau <rm...@gmail.com>:
> 
> what's the cost of havingboth BTW?
> 
> 
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com>
> 
> 2015-06-23 17:46 GMT+02:00 Mark Struberg <st...@yahoo.de>:
> 
>> I really like Alpine. Gives you apk as well but is really down to the core
>> without any useless ballast.
>> 
>> LieGrue,
>> strub
>> 
>> 
>>> Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <rmannibucau@gmail.com
>>> :
>>> 
>>> debian is more known IMO but not sure it changes much things for final
>>> users, what's your opinion Alex?
>>> 
>>> 
>>> Romain Manni-Bucau
>>> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
>>> <http://rmannibucau.wordpress.com> | Github <
>> https://github.com/rmannibucau> |
>>> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
>>> <http://www.tomitribe.com>
>>> 
>>> 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
>>> 
>>>> Guys what do you prefer for official Docker image. Be light with Alpine
>> or
>>>> be versatile with Debian?
>>>> 
>>>> El dl., 22 juny 2015 a les 23:59, Alex Soto (<as...@gmail.com>) va
>>>> escriure:
>>>> 
>>>>> Thanks well I am still not 100% happy, what I am wondering is if debian
>>>>> image or alpine image. I m hesitant about this :)
>>>>> 
>>>>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
>>>>> jlmonteiro@tomitribe.com>) va escriure:
>>>>> 
>>>>>> This is awesome Alex.
>>>>>> Thanks for driving this from start to end.
>>>>>> 
>>>>>> Really great contribution.
>>>>>> 
>>>>>> --
>>>>>> Jean-Louis Monteiro
>>>>>> http://twitter.com/jlouismonteiro
>>>>>> http://www.tomitribe.com
>>>>>> 
>>>>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com>
>> wrote:
>>>>>> 
>>>>>>> Hi mates I have been working on creating a TomEE image in Docker.
>>>>>>> I am closely to be able to release an Apache TomEE official
>> repository
>>>>>> on
>>>>>>> docker hub, but I prefer you take a look first.
>>>>>>> 
>>>>>>> First of all I have decided to change from official openjdk image
>>>> which
>>>>>> is
>>>>>>> based on debian, to official Alpine image. This change is pretty
>>>> simple,
>>>>>>> the Alpine docker image is a light docker image (only 5MB) and
>>>> following
>>>>>>> the philosophy of TomEE of light yet powerful distribution, I think
>>>>>> this is
>>>>>>> a really good movement in these terms. Now the TomEE Docker image is
>>>>>> 200MB
>>>>>>> less than the one using Debian. Concretely 191MB in front of 379MB.
>>>>>>> 
>>>>>>> Let me share with you the Dockerfile content:
>>>>>>> 
>>>>>>> FROM alpine:3.2
>>>>>>> 
>>>>>>> RUN apk --update add bash
>>>>>>> RUN apk --update add curl
>>>>>>> RUN apk --update add openjdk7
>>>>>>> RUN apk --update add gnupg
>>>>>>> 
>>>>>>> # add our user and group first to make sure their IDs get assigned
>>>>>>> consistently, regardless of whatever dependencies get added
>>>>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
>>>>>>> 
>>>>>>> ENV PATH /usr/local/tomee/bin:$PATH
>>>>>>> RUN mkdir -p /usr/local/tomee
>>>>>>> RUN chown tomee:tomee /usr/local/tomee
>>>>>>> WORKDIR /usr/local/tomee
>>>>>>> USER tomee
>>>>>>> 
>>>>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
>>>>>>>       && gpg --import KEYS
>>>>>>> 
>>>>>>> RUN curl -SL
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>> 
>> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
>>>>>>> -o
>>>>>>> tomee.tar.gz.asc
>>>>>>> 
>>>>>>> RUN curl -SL
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>> 
>> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
>>>>>>> -o
>>>>>>> tomee.tar.gz \
>>>>>>>       && tar -zxvf tomee.tar.gz  \
>>>>>>>       && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
>>>>>>>       && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
>>>>>>>       && rm -Rf apache-tomee-plus-1.7.2 \
>>>>>>>       && rm bin/*.bat \
>>>>>>>       && rm tomee.tar.gz*
>>>>>>> 
>>>>>>> EXPOSE 8080
>>>>>>> CMD ["catalina.sh", "run"]
>>>>>>> 
>>>>>>> But it has two drawback is that alpine 3.2 still don't have support
>> in
>>>>>> APK
>>>>>>> for openjdk8, but it will be added for alpine 3.3 so I am quite
>>>>>> confident
>>>>>>> that the best way to proceed is wait until it is released and then
>>>>>> update
>>>>>>> our Dockerfile and finally release our image as official image with
>>>>>>> OpenJDK8.
>>>>>>> 
>>>>>>> The second problem is that we are setting alpine linux as default
>>>> image
>>>>>> in
>>>>>>> our distribution and not a more popular like Debian.
>>>>>>> 
>>>>>>> Another message I have seen while creating the image was this one:
>>>>>>> 
>>>>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID
>>>>>> D297D428
>>>>>>> gpg: Good signature from "Jonathan Gallimore <jgallimore@apache.org
>>> "
>>>>>>> [unknown]
>>>>>>> gpg: WARNING: This key is not certified with a trusted signature!
>>>>>>> gpg:          There is no indication that the signature belongs to
>> the
>>>>>>> owner.
>>>>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C
>> D297
>>>>>> D428
>>>>>>> 
>>>>>>> I don't know if Jonathan's key was not created by a trusted key.
>>>>>>> 
>>>>>>> Well that's all, let me know what you think about this change or what
>>>>>> you
>>>>>>> would like to see in official TomEE image.
>>>>>>> 
>>>>>>> Alex.
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>> 
>> 


Re: Apache TomEE official image

Posted by Romain Manni-Bucau <rm...@gmail.com>.
what's the cost of havingboth BTW?


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-06-23 17:46 GMT+02:00 Mark Struberg <st...@yahoo.de>:

> I really like Alpine. Gives you apk as well but is really down to the core
> without any useless ballast.
>
> LieGrue,
> strub
>
>
> > Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <rmannibucau@gmail.com
> >:
> >
> > debian is more known IMO but not sure it changes much things for final
> > users, what's your opinion Alex?
> >
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > <http://www.tomitribe.com>
> >
> > 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
> >
> >> Guys what do you prefer for official Docker image. Be light with Alpine
> or
> >> be versatile with Debian?
> >>
> >> El dl., 22 juny 2015 a les 23:59, Alex Soto (<as...@gmail.com>) va
> >> escriure:
> >>
> >>> Thanks well I am still not 100% happy, what I am wondering is if debian
> >>> image or alpine image. I m hesitant about this :)
> >>>
> >>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> >>> jlmonteiro@tomitribe.com>) va escriure:
> >>>
> >>>> This is awesome Alex.
> >>>> Thanks for driving this from start to end.
> >>>>
> >>>> Really great contribution.
> >>>>
> >>>> --
> >>>> Jean-Louis Monteiro
> >>>> http://twitter.com/jlouismonteiro
> >>>> http://www.tomitribe.com
> >>>>
> >>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com>
> wrote:
> >>>>
> >>>>> Hi mates I have been working on creating a TomEE image in Docker.
> >>>>> I am closely to be able to release an Apache TomEE official
> repository
> >>>> on
> >>>>> docker hub, but I prefer you take a look first.
> >>>>>
> >>>>> First of all I have decided to change from official openjdk image
> >> which
> >>>> is
> >>>>> based on debian, to official Alpine image. This change is pretty
> >> simple,
> >>>>> the Alpine docker image is a light docker image (only 5MB) and
> >> following
> >>>>> the philosophy of TomEE of light yet powerful distribution, I think
> >>>> this is
> >>>>> a really good movement in these terms. Now the TomEE Docker image is
> >>>> 200MB
> >>>>> less than the one using Debian. Concretely 191MB in front of 379MB.
> >>>>>
> >>>>> Let me share with you the Dockerfile content:
> >>>>>
> >>>>> FROM alpine:3.2
> >>>>>
> >>>>> RUN apk --update add bash
> >>>>> RUN apk --update add curl
> >>>>> RUN apk --update add openjdk7
> >>>>> RUN apk --update add gnupg
> >>>>>
> >>>>> # add our user and group first to make sure their IDs get assigned
> >>>>> consistently, regardless of whatever dependencies get added
> >>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
> >>>>>
> >>>>> ENV PATH /usr/local/tomee/bin:$PATH
> >>>>> RUN mkdir -p /usr/local/tomee
> >>>>> RUN chown tomee:tomee /usr/local/tomee
> >>>>> WORKDIR /usr/local/tomee
> >>>>> USER tomee
> >>>>>
> >>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
> >>>>>        && gpg --import KEYS
> >>>>>
> >>>>> RUN curl -SL
> >>>>>
> >>>>>
> >>>>
> >>
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> >>>>> -o
> >>>>> tomee.tar.gz.asc
> >>>>>
> >>>>> RUN curl -SL
> >>>>>
> >>>>>
> >>>>
> >>
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> >>>>> -o
> >>>>> tomee.tar.gz \
> >>>>>        && tar -zxvf tomee.tar.gz  \
> >>>>>        && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> >>>>>        && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
> >>>>>        && rm -Rf apache-tomee-plus-1.7.2 \
> >>>>>        && rm bin/*.bat \
> >>>>>        && rm tomee.tar.gz*
> >>>>>
> >>>>> EXPOSE 8080
> >>>>> CMD ["catalina.sh", "run"]
> >>>>>
> >>>>> But it has two drawback is that alpine 3.2 still don't have support
> in
> >>>> APK
> >>>>> for openjdk8, but it will be added for alpine 3.3 so I am quite
> >>>> confident
> >>>>> that the best way to proceed is wait until it is released and then
> >>>> update
> >>>>> our Dockerfile and finally release our image as official image with
> >>>>> OpenJDK8.
> >>>>>
> >>>>> The second problem is that we are setting alpine linux as default
> >> image
> >>>> in
> >>>>> our distribution and not a more popular like Debian.
> >>>>>
> >>>>> Another message I have seen while creating the image was this one:
> >>>>>
> >>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID
> >>>> D297D428
> >>>>> gpg: Good signature from "Jonathan Gallimore <jgallimore@apache.org
> >"
> >>>>> [unknown]
> >>>>> gpg: WARNING: This key is not certified with a trusted signature!
> >>>>> gpg:          There is no indication that the signature belongs to
> the
> >>>>> owner.
> >>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C
> D297
> >>>> D428
> >>>>>
> >>>>> I don't know if Jonathan's key was not created by a trusted key.
> >>>>>
> >>>>> Well that's all, let me know what you think about this change or what
> >>>> you
> >>>>> would like to see in official TomEE image.
> >>>>>
> >>>>> Alex.
> >>>>>
> >>>>
> >>>
> >>
>
>

Re: Apache TomEE official image

Posted by Mark Struberg <st...@yahoo.de>.
I really like Alpine. Gives you apk as well but is really down to the core without any useless ballast.

LieGrue,
strub


> Am 23.06.2015 um 17:40 schrieb Romain Manni-Bucau <rm...@gmail.com>:
> 
> debian is more known IMO but not sure it changes much things for final
> users, what's your opinion Alex?
> 
> 
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com>
> 
> 2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:
> 
>> Guys what do you prefer for official Docker image. Be light with Alpine or
>> be versatile with Debian?
>> 
>> El dl., 22 juny 2015 a les 23:59, Alex Soto (<as...@gmail.com>) va
>> escriure:
>> 
>>> Thanks well I am still not 100% happy, what I am wondering is if debian
>>> image or alpine image. I m hesitant about this :)
>>> 
>>> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
>>> jlmonteiro@tomitribe.com>) va escriure:
>>> 
>>>> This is awesome Alex.
>>>> Thanks for driving this from start to end.
>>>> 
>>>> Really great contribution.
>>>> 
>>>> --
>>>> Jean-Louis Monteiro
>>>> http://twitter.com/jlouismonteiro
>>>> http://www.tomitribe.com
>>>> 
>>>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com> wrote:
>>>> 
>>>>> Hi mates I have been working on creating a TomEE image in Docker.
>>>>> I am closely to be able to release an Apache TomEE official repository
>>>> on
>>>>> docker hub, but I prefer you take a look first.
>>>>> 
>>>>> First of all I have decided to change from official openjdk image
>> which
>>>> is
>>>>> based on debian, to official Alpine image. This change is pretty
>> simple,
>>>>> the Alpine docker image is a light docker image (only 5MB) and
>> following
>>>>> the philosophy of TomEE of light yet powerful distribution, I think
>>>> this is
>>>>> a really good movement in these terms. Now the TomEE Docker image is
>>>> 200MB
>>>>> less than the one using Debian. Concretely 191MB in front of 379MB.
>>>>> 
>>>>> Let me share with you the Dockerfile content:
>>>>> 
>>>>> FROM alpine:3.2
>>>>> 
>>>>> RUN apk --update add bash
>>>>> RUN apk --update add curl
>>>>> RUN apk --update add openjdk7
>>>>> RUN apk --update add gnupg
>>>>> 
>>>>> # add our user and group first to make sure their IDs get assigned
>>>>> consistently, regardless of whatever dependencies get added
>>>>> RUN addgroup -S tomee && adduser -S -G tomee tomee
>>>>> 
>>>>> ENV PATH /usr/local/tomee/bin:$PATH
>>>>> RUN mkdir -p /usr/local/tomee
>>>>> RUN chown tomee:tomee /usr/local/tomee
>>>>> WORKDIR /usr/local/tomee
>>>>> USER tomee
>>>>> 
>>>>> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
>>>>>        && gpg --import KEYS
>>>>> 
>>>>> RUN curl -SL
>>>>> 
>>>>> 
>>>> 
>> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
>>>>> -o
>>>>> tomee.tar.gz.asc
>>>>> 
>>>>> RUN curl -SL
>>>>> 
>>>>> 
>>>> 
>> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
>>>>> -o
>>>>> tomee.tar.gz \
>>>>>        && tar -zxvf tomee.tar.gz  \
>>>>>        && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
>>>>>        && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
>>>>>        && rm -Rf apache-tomee-plus-1.7.2 \
>>>>>        && rm bin/*.bat \
>>>>>        && rm tomee.tar.gz*
>>>>> 
>>>>> EXPOSE 8080
>>>>> CMD ["catalina.sh", "run"]
>>>>> 
>>>>> But it has two drawback is that alpine 3.2 still don't have support in
>>>> APK
>>>>> for openjdk8, but it will be added for alpine 3.3 so I am quite
>>>> confident
>>>>> that the best way to proceed is wait until it is released and then
>>>> update
>>>>> our Dockerfile and finally release our image as official image with
>>>>> OpenJDK8.
>>>>> 
>>>>> The second problem is that we are setting alpine linux as default
>> image
>>>> in
>>>>> our distribution and not a more popular like Debian.
>>>>> 
>>>>> Another message I have seen while creating the image was this one:
>>>>> 
>>>>> gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID
>>>> D297D428
>>>>> gpg: Good signature from "Jonathan Gallimore <jg...@apache.org>"
>>>>> [unknown]
>>>>> gpg: WARNING: This key is not certified with a trusted signature!
>>>>> gpg:          There is no indication that the signature belongs to the
>>>>> owner.
>>>>> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C D297
>>>> D428
>>>>> 
>>>>> I don't know if Jonathan's key was not created by a trusted key.
>>>>> 
>>>>> Well that's all, let me know what you think about this change or what
>>>> you
>>>>> would like to see in official TomEE image.
>>>>> 
>>>>> Alex.
>>>>> 
>>>> 
>>> 
>> 


Re: Apache TomEE official image

Posted by Romain Manni-Bucau <rm...@gmail.com>.
debian is more known IMO but not sure it changes much things for final
users, what's your opinion Alex?


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-06-23 17:31 GMT+02:00 Alex Soto <as...@gmail.com>:

> Guys what do you prefer for official Docker image. Be light with Alpine or
> be versatile with Debian?
>
> El dl., 22 juny 2015 a les 23:59, Alex Soto (<as...@gmail.com>) va
> escriure:
>
> > Thanks well I am still not 100% happy, what I am wondering is if debian
> > image or alpine image. I m hesitant about this :)
> >
> > El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> > jlmonteiro@tomitribe.com>) va escriure:
> >
> >> This is awesome Alex.
> >> Thanks for driving this from start to end.
> >>
> >> Really great contribution.
> >>
> >> --
> >> Jean-Louis Monteiro
> >> http://twitter.com/jlouismonteiro
> >> http://www.tomitribe.com
> >>
> >> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com> wrote:
> >>
> >> > Hi mates I have been working on creating a TomEE image in Docker.
> >> > I am closely to be able to release an Apache TomEE official repository
> >> on
> >> > docker hub, but I prefer you take a look first.
> >> >
> >> > First of all I have decided to change from official openjdk image
> which
> >> is
> >> > based on debian, to official Alpine image. This change is pretty
> simple,
> >> > the Alpine docker image is a light docker image (only 5MB) and
> following
> >> > the philosophy of TomEE of light yet powerful distribution, I think
> >> this is
> >> > a really good movement in these terms. Now the TomEE Docker image is
> >> 200MB
> >> > less than the one using Debian. Concretely 191MB in front of 379MB.
> >> >
> >> > Let me share with you the Dockerfile content:
> >> >
> >> > FROM alpine:3.2
> >> >
> >> > RUN apk --update add bash
> >> > RUN apk --update add curl
> >> > RUN apk --update add openjdk7
> >> > RUN apk --update add gnupg
> >> >
> >> > # add our user and group first to make sure their IDs get assigned
> >> > consistently, regardless of whatever dependencies get added
> >> > RUN addgroup -S tomee && adduser -S -G tomee tomee
> >> >
> >> > ENV PATH /usr/local/tomee/bin:$PATH
> >> > RUN mkdir -p /usr/local/tomee
> >> > RUN chown tomee:tomee /usr/local/tomee
> >> > WORKDIR /usr/local/tomee
> >> > USER tomee
> >> >
> >> > RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
> >> >         && gpg --import KEYS
> >> >
> >> > RUN curl -SL
> >> >
> >> >
> >>
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> >> > -o
> >> > tomee.tar.gz.asc
> >> >
> >> > RUN curl -SL
> >> >
> >> >
> >>
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> >> > -o
> >> > tomee.tar.gz \
> >> >         && tar -zxvf tomee.tar.gz  \
> >> >         && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> >> >         && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
> >> >         && rm -Rf apache-tomee-plus-1.7.2 \
> >> >         && rm bin/*.bat \
> >> >         && rm tomee.tar.gz*
> >> >
> >> > EXPOSE 8080
> >> > CMD ["catalina.sh", "run"]
> >> >
> >> > But it has two drawback is that alpine 3.2 still don't have support in
> >> APK
> >> > for openjdk8, but it will be added for alpine 3.3 so I am quite
> >> confident
> >> > that the best way to proceed is wait until it is released and then
> >> update
> >> > our Dockerfile and finally release our image as official image with
> >> > OpenJDK8.
> >> >
> >> > The second problem is that we are setting alpine linux as default
> image
> >> in
> >> > our distribution and not a more popular like Debian.
> >> >
> >> > Another message I have seen while creating the image was this one:
> >> >
> >> > gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID
> >> D297D428
> >> > gpg: Good signature from "Jonathan Gallimore <jg...@apache.org>"
> >> > [unknown]
> >> > gpg: WARNING: This key is not certified with a trusted signature!
> >> > gpg:          There is no indication that the signature belongs to the
> >> > owner.
> >> > Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C D297
> >> D428
> >> >
> >> > I don't know if Jonathan's key was not created by a trusted key.
> >> >
> >> > Well that's all, let me know what you think about this change or what
> >> you
> >> > would like to see in official TomEE image.
> >> >
> >> > Alex.
> >> >
> >>
> >
>

Re: Apache TomEE official image

Posted by Alex Soto <as...@gmail.com>.
Guys what do you prefer for official Docker image. Be light with Alpine or
be versatile with Debian?

El dl., 22 juny 2015 a les 23:59, Alex Soto (<as...@gmail.com>) va
escriure:

> Thanks well I am still not 100% happy, what I am wondering is if debian
> image or alpine image. I m hesitant about this :)
>
> El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
> jlmonteiro@tomitribe.com>) va escriure:
>
>> This is awesome Alex.
>> Thanks for driving this from start to end.
>>
>> Really great contribution.
>>
>> --
>> Jean-Louis Monteiro
>> http://twitter.com/jlouismonteiro
>> http://www.tomitribe.com
>>
>> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com> wrote:
>>
>> > Hi mates I have been working on creating a TomEE image in Docker.
>> > I am closely to be able to release an Apache TomEE official repository
>> on
>> > docker hub, but I prefer you take a look first.
>> >
>> > First of all I have decided to change from official openjdk image which
>> is
>> > based on debian, to official Alpine image. This change is pretty simple,
>> > the Alpine docker image is a light docker image (only 5MB) and following
>> > the philosophy of TomEE of light yet powerful distribution, I think
>> this is
>> > a really good movement in these terms. Now the TomEE Docker image is
>> 200MB
>> > less than the one using Debian. Concretely 191MB in front of 379MB.
>> >
>> > Let me share with you the Dockerfile content:
>> >
>> > FROM alpine:3.2
>> >
>> > RUN apk --update add bash
>> > RUN apk --update add curl
>> > RUN apk --update add openjdk7
>> > RUN apk --update add gnupg
>> >
>> > # add our user and group first to make sure their IDs get assigned
>> > consistently, regardless of whatever dependencies get added
>> > RUN addgroup -S tomee && adduser -S -G tomee tomee
>> >
>> > ENV PATH /usr/local/tomee/bin:$PATH
>> > RUN mkdir -p /usr/local/tomee
>> > RUN chown tomee:tomee /usr/local/tomee
>> > WORKDIR /usr/local/tomee
>> > USER tomee
>> >
>> > RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
>> >         && gpg --import KEYS
>> >
>> > RUN curl -SL
>> >
>> >
>> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
>> > -o
>> > tomee.tar.gz.asc
>> >
>> > RUN curl -SL
>> >
>> >
>> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
>> > -o
>> > tomee.tar.gz \
>> >         && tar -zxvf tomee.tar.gz  \
>> >         && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
>> >         && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
>> >         && rm -Rf apache-tomee-plus-1.7.2 \
>> >         && rm bin/*.bat \
>> >         && rm tomee.tar.gz*
>> >
>> > EXPOSE 8080
>> > CMD ["catalina.sh", "run"]
>> >
>> > But it has two drawback is that alpine 3.2 still don't have support in
>> APK
>> > for openjdk8, but it will be added for alpine 3.3 so I am quite
>> confident
>> > that the best way to proceed is wait until it is released and then
>> update
>> > our Dockerfile and finally release our image as official image with
>> > OpenJDK8.
>> >
>> > The second problem is that we are setting alpine linux as default image
>> in
>> > our distribution and not a more popular like Debian.
>> >
>> > Another message I have seen while creating the image was this one:
>> >
>> > gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID
>> D297D428
>> > gpg: Good signature from "Jonathan Gallimore <jg...@apache.org>"
>> > [unknown]
>> > gpg: WARNING: This key is not certified with a trusted signature!
>> > gpg:          There is no indication that the signature belongs to the
>> > owner.
>> > Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C D297
>> D428
>> >
>> > I don't know if Jonathan's key was not created by a trusted key.
>> >
>> > Well that's all, let me know what you think about this change or what
>> you
>> > would like to see in official TomEE image.
>> >
>> > Alex.
>> >
>>
>

Re: Apache TomEE official image

Posted by Alex Soto <as...@gmail.com>.
Thanks well I am still not 100% happy, what I am wondering is if debian
image or alpine image. I m hesitant about this :)

El dl., 22 juny 2015 a les 23:23, Jean-Louis Monteiro (<
jlmonteiro@tomitribe.com>) va escriure:

> This is awesome Alex.
> Thanks for driving this from start to end.
>
> Really great contribution.
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
> On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com> wrote:
>
> > Hi mates I have been working on creating a TomEE image in Docker.
> > I am closely to be able to release an Apache TomEE official repository on
> > docker hub, but I prefer you take a look first.
> >
> > First of all I have decided to change from official openjdk image which
> is
> > based on debian, to official Alpine image. This change is pretty simple,
> > the Alpine docker image is a light docker image (only 5MB) and following
> > the philosophy of TomEE of light yet powerful distribution, I think this
> is
> > a really good movement in these terms. Now the TomEE Docker image is
> 200MB
> > less than the one using Debian. Concretely 191MB in front of 379MB.
> >
> > Let me share with you the Dockerfile content:
> >
> > FROM alpine:3.2
> >
> > RUN apk --update add bash
> > RUN apk --update add curl
> > RUN apk --update add openjdk7
> > RUN apk --update add gnupg
> >
> > # add our user and group first to make sure their IDs get assigned
> > consistently, regardless of whatever dependencies get added
> > RUN addgroup -S tomee && adduser -S -G tomee tomee
> >
> > ENV PATH /usr/local/tomee/bin:$PATH
> > RUN mkdir -p /usr/local/tomee
> > RUN chown tomee:tomee /usr/local/tomee
> > WORKDIR /usr/local/tomee
> > USER tomee
> >
> > RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
> >         && gpg --import KEYS
> >
> > RUN curl -SL
> >
> >
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> > -o
> > tomee.tar.gz.asc
> >
> > RUN curl -SL
> >
> >
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> > -o
> > tomee.tar.gz \
> >         && tar -zxvf tomee.tar.gz  \
> >         && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
> >         && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
> >         && rm -Rf apache-tomee-plus-1.7.2 \
> >         && rm bin/*.bat \
> >         && rm tomee.tar.gz*
> >
> > EXPOSE 8080
> > CMD ["catalina.sh", "run"]
> >
> > But it has two drawback is that alpine 3.2 still don't have support in
> APK
> > for openjdk8, but it will be added for alpine 3.3 so I am quite confident
> > that the best way to proceed is wait until it is released and then update
> > our Dockerfile and finally release our image as official image with
> > OpenJDK8.
> >
> > The second problem is that we are setting alpine linux as default image
> in
> > our distribution and not a more popular like Debian.
> >
> > Another message I have seen while creating the image was this one:
> >
> > gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID
> D297D428
> > gpg: Good signature from "Jonathan Gallimore <jg...@apache.org>"
> > [unknown]
> > gpg: WARNING: This key is not certified with a trusted signature!
> > gpg:          There is no indication that the signature belongs to the
> > owner.
> > Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C D297
> D428
> >
> > I don't know if Jonathan's key was not created by a trusted key.
> >
> > Well that's all, let me know what you think about this change or what you
> > would like to see in official TomEE image.
> >
> > Alex.
> >
>

Re: Apache TomEE official image

Posted by Jean-Louis Monteiro <jl...@tomitribe.com>.
This is awesome Alex.
Thanks for driving this from start to end.

Really great contribution.

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com

On Thu, Jun 18, 2015 at 11:03 AM, Alex Soto <as...@gmail.com> wrote:

> Hi mates I have been working on creating a TomEE image in Docker.
> I am closely to be able to release an Apache TomEE official repository on
> docker hub, but I prefer you take a look first.
>
> First of all I have decided to change from official openjdk image which is
> based on debian, to official Alpine image. This change is pretty simple,
> the Alpine docker image is a light docker image (only 5MB) and following
> the philosophy of TomEE of light yet powerful distribution, I think this is
> a really good movement in these terms. Now the TomEE Docker image is 200MB
> less than the one using Debian. Concretely 191MB in front of 379MB.
>
> Let me share with you the Dockerfile content:
>
> FROM alpine:3.2
>
> RUN apk --update add bash
> RUN apk --update add curl
> RUN apk --update add openjdk7
> RUN apk --update add gnupg
>
> # add our user and group first to make sure their IDs get assigned
> consistently, regardless of whatever dependencies get added
> RUN addgroup -S tomee && adduser -S -G tomee tomee
>
> ENV PATH /usr/local/tomee/bin:$PATH
> RUN mkdir -p /usr/local/tomee
> RUN chown tomee:tomee /usr/local/tomee
> WORKDIR /usr/local/tomee
> USER tomee
>
> RUN curl -SL http://www.apache.org/dist/tomee/KEYS -o KEYS \
>         && gpg --import KEYS
>
> RUN curl -SL
>
> https://dist.apache.org/repos/dist/release/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz.asc
> -o
> tomee.tar.gz.asc
>
> RUN curl -SL
>
> http://apache.rediris.es/tomee/tomee-1.7.2/apache-tomee-1.7.2-webprofile.tar.gz
> -o
> tomee.tar.gz \
>         && tar -zxvf tomee.tar.gz  \
>         && gpg --verify tomee.tar.gz.asc tomee.tar.gz \
>         && mv apache-tomee-webprofile-1.7.2/* /usr/local/tomee \
>         && rm -Rf apache-tomee-plus-1.7.2 \
>         && rm bin/*.bat \
>         && rm tomee.tar.gz*
>
> EXPOSE 8080
> CMD ["catalina.sh", "run"]
>
> But it has two drawback is that alpine 3.2 still don't have support in APK
> for openjdk8, but it will be added for alpine 3.3 so I am quite confident
> that the best way to proceed is wait until it is released and then update
> our Dockerfile and finally release our image as official image with
> OpenJDK8.
>
> The second problem is that we are setting alpine linux as default image in
> our distribution and not a more popular like Debian.
>
> Another message I have seen while creating the image was this one:
>
> gpg: Signature made Sun May 17 22:18:30 2015 UTC using DSA key ID D297D428
> gpg: Good signature from "Jonathan Gallimore <jg...@apache.org>"
> [unknown]
> gpg: WARNING: This key is not certified with a trusted signature!
> gpg:          There is no indication that the signature belongs to the
> owner.
> Primary key fingerprint: DBCC D103 B8B2 4F86 FFAA  B025 C8BB 472C D297 D428
>
> I don't know if Jonathan's key was not created by a trusted key.
>
> Well that's all, let me know what you think about this change or what you
> would like to see in official TomEE image.
>
> Alex.
>