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 (<agumbre...@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" <jlmonte...@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 <asot...@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 < > > > agumbre...@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" <strub...@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 < > > > > rmannibu...@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 <strub...@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 < > > > > > rmannibu...@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 <asot...@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 (< > asot...@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 (< > > > > > >>>>> jlmonte...@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 < > > asot...@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 < > > > > > jgallim...@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. > > > > > >>>>>>> > > > > > >>>>>> > > > > > >>>>> > > > > > >>>> > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > >