You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Lukasz Lenart <lu...@apache.org> on 2015/10/07 12:11:14 UTC
Official Docker images
Hi,
What do you think about creating an official images on DockerHub? At
least I would like to use one to support publishing the site but we
can add others as well.
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Official Docker images
Posted by Rene Gielen <rg...@apache.org>.
Would be a nice addition, indeed.
I think an image with Tomcat+war would be a good way to go for people to
try the showcases.
Maven image + checkout from git + building would be of interest for core
developers only, not sure wether one would want to go down this route.
- René
Am 08.02.16 um 11:25 schrieb Christoph Nenning:
>> Hi,
>>
>> I have updated the image at DockerHub, introduced Dockerfile to build
>> the image plus some other changes. The previous version was broken
>> (autogenerated CSSs were broken)
>>
>> https://hub.docker.com/r/theapachestruts/struts-site-jekyll/
>>
>> Should I prepare images with Showcase app and Showcase-rest? wdyt?
>>
>>
>
>
> +1
>
>
> Which way do you want to build them?
> Add another step to maven to wrap WAR in an image and push it?
> Or create an image which contains maven, checks out code from git and
> builds the app on the fly?
>
>
> The latter approach causes problems for people behind a proxy.
>
>
>
> Regards,
> Christoph
>
> This Email was scanned by Sophos Anti Virus
>
--
René Gielen
http://twitter.com/rgielen
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Official Docker images
Posted by Christoph Nenning <Ch...@lex-com.net>.
> Hi,
>
> I have updated the image at DockerHub, introduced Dockerfile to build
> the image plus some other changes. The previous version was broken
> (autogenerated CSSs were broken)
>
> https://hub.docker.com/r/theapachestruts/struts-site-jekyll/
>
> Should I prepare images with Showcase app and Showcase-rest? wdyt?
>
>
+1
Which way do you want to build them?
Add another step to maven to wrap WAR in an image and push it?
Or create an image which contains maven, checks out code from git and
builds the app on the fly?
The latter approach causes problems for people behind a proxy.
Regards,
Christoph
This Email was scanned by Sophos Anti Virus
Re: Official Docker images
Posted by Lukasz Lenart <lu...@apache.org>.
Hi,
I have updated the image at DockerHub, introduced Dockerfile to build
the image plus some other changes. The previous version was broken
(autogenerated CSSs were broken)
https://hub.docker.com/r/theapachestruts/struts-site-jekyll/
Should I prepare images with Showcase app and Showcase-rest? wdyt?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Official Docker images
Posted by Rene Gielen <rg...@apache.org>.
This is really a great improvement for having a portable and easy to
setup publishing platform, indeed.
Related: I made some experiments with JBake lately
http://jbake.org/
The claim "Jekyll of the JVM" pins it down quite well. It requires just
a JDK and integrates perfectly with maven builds. We might want to keep
this on our radar for an even more streamlined future publishing worklflow.
I also made some experiments on how hard it would be to move
documentation to AsciiDoctor, maybe including migration from Confluence.
Not there yet, but it looks really promising for streamlined
documentation in a one-stop publishing process.
- René
Am 08.10.15 um 11:51 schrieb Lukasz Lenart:
> 2015-10-08 11:42 GMT+02:00 Christoph Nenning <Ch...@lex-com.net>:
>> Alright. Got it up and running. Some pages are not present, I guess that
>> is stuff exported from wiki, e.g.
>>
>> http://localhost:4000/docs/guides.html
>
> Exactly, but right now we can improve that as well :)
>
>
> Regards
>
--
René Gielen
http://twitter.com/rgielen
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Official Docker images
Posted by Lukasz Lenart <lu...@apache.org>.
2015-10-08 11:42 GMT+02:00 Christoph Nenning <Ch...@lex-com.net>:
> Alright. Got it up and running. Some pages are not present, I guess that
> is stuff exported from wiki, e.g.
>
> http://localhost:4000/docs/guides.html
Exactly, but right now we can improve that as well :)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Official Docker images
Posted by Christoph Nenning <Ch...@lex-com.net>.
> From: Lukasz Lenart <lu...@apache.org>
> To: Struts Developers List <de...@struts.apache.org>,
> Date: 08.10.2015 11:20
> Subject: Re: Official Docker images
>
> 2015-10-08 11:05 GMT+02:00 Christoph Nenning
<Ch...@lex-com.net>:
> > As the image is intended to run jekyll I was wondering what you added.
As
> > image IDs are different there must be some change.
>
> The original image doesn't contain all the required gems and install
> them on each run - a bit annoying ;-) My image is complete, all the
> gems are installed
>
>
Oh yes! I prefer it that way, too.
> simplest way is to checkout struts-site
> and run "docker-run.sh"
Alright. Got it up and running. Some pages are not present, I guess that
is stuff exported from wiki, e.g.
http://localhost:4000/docs/guides.html
Regards,
Christoph
This Email was scanned by Sophos Anti Virus
Re: Official Docker images
Posted by Lukasz Lenart <lu...@apache.org>.
2015-10-08 11:05 GMT+02:00 Christoph Nenning <Ch...@lex-com.net>:
> As the image is intended to run jekyll I was wondering what you added. As
> image IDs are different there must be some change.
The original image doesn't contain all the required gems and install
them on each run - a bit annoying ;-) My image is complete, all the
gems are installed
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Official Docker images
Posted by Christoph Nenning <Ch...@lex-com.net>.
> From: Lukasz Lenart <lu...@apache.org>
> To: Struts Developers List <de...@struts.apache.org>,
> Date: 08.10.2015 10:43
> Subject: Re: Official Docker images
>
> 2015-10-08 10:40 GMT+02:00 Christoph Nenning
<Ch...@lex-com.net>:
> > Do you have scripts/a Dockerfile to build this image?
> > Is it pushed to some repo?
>
> It bases on that image https://hub.docker.com/r/jekyll/jekyll/ and it
> it's "ready-to-go" Jekyll with all the dependencies installed. No
> Dockerfile :(
>
>
As the image is intended to run jekyll I was wondering what you added. As
image IDs are different there must be some change.
This Email was scanned by Sophos Anti Virus
Re: Official Docker images
Posted by Lukasz Lenart <lu...@apache.org>.
2015-10-08 10:40 GMT+02:00 Christoph Nenning <Ch...@lex-com.net>:
> Do you have scripts/a Dockerfile to build this image?
> Is it pushed to some repo?
It bases on that image https://hub.docker.com/r/jekyll/jekyll/ and it
it's "ready-to-go" Jekyll with all the dependencies installed. No
Dockerfile :(
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Official Docker images
Posted by Christoph Nenning <Ch...@lex-com.net>.
> From: Lukasz Lenart <lu...@apache.org>
> To: Struts Developers List <de...@struts.apache.org>,
> Date: 08.10.2015 09:44
> Subject: Re: Official Docker images
>
> The first image is out
> https://hub.docker.com/r/theapachestruts/struts-site-jekyll/
>
> I will update docs how to use it to build the site
>
>
Do you have scripts/a Dockerfile to build this image?
Is it pushed to some repo?
Regards,
Christoph
This Email was scanned by Sophos Anti Virus
Re: Official Docker images
Posted by Lukasz Lenart <lu...@apache.org>.
2015-10-08 11:04 GMT+02:00 Christoph Nenning <Ch...@lex-com.net>:
> I guess I should have read older posts first.
>
>
> After following this [1] I could at least generate something. But serving
> it caused an error. I was using your struts-site image instead of the
> original jekyll image.
>
>
> I got this error:
> grep: Gemfile: No such file or directory
> Moving Gemfile to Gemfile.docker because jekyll is not included.
> mv: can't rename '/srv/jekyll/Gemfile': No such file or directory
>
>
> Still looking forward to the docs update :)
>
>
>
> [1]
> http://blog.jaceklaskowski.pl/2015/08/17/why-docker-writing-docs-using-jekyll.html
I have renamed the image so the above procedure won't work. The
simplest way is to checkout struts-site
https://git-wip-us.apache.org/repos/asf/struts-site.git
and run "docker-run.sh" or "fish docker-run.fish" (I'm using fish-shell)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Official Docker images
Posted by Christoph Nenning <Ch...@lex-com.net>.
> From: Christoph Nenning <Ch...@lex-com.net>
> To: "Struts Developers List" <de...@struts.apache.org>,
> Date: 08.10.2015 10:30
> Subject: Re: Official Docker images
>
> > From: Lukasz Lenart <lu...@apache.org>
> > To: Struts Developers List <de...@struts.apache.org>,
> > Date: 08.10.2015 09:44
> > Subject: Re: Official Docker images
> >
> > The first image is out
> > https://hub.docker.com/r/theapachestruts/struts-site-jekyll/
> >
> > I will update docs how to use it to build the site
> >
> >
>
> That's necessary as I could not figure out how to do somthing useful
with
> it ;)
>
>
I guess I should have read older posts first.
After following this [1] I could at least generate something. But serving
it caused an error. I was using your struts-site image instead of the
original jekyll image.
I got this error:
grep: Gemfile: No such file or directory
Moving Gemfile to Gemfile.docker because jekyll is not included.
mv: can't rename '/srv/jekyll/Gemfile': No such file or directory
Still looking forward to the docs update :)
[1]
http://blog.jaceklaskowski.pl/2015/08/17/why-docker-writing-docs-using-jekyll.html
This Email was scanned by Sophos Anti Virus
Re: Official Docker images
Posted by Christoph Nenning <Ch...@lex-com.net>.
> From: Lukasz Lenart <lu...@apache.org>
> To: Struts Developers List <de...@struts.apache.org>,
> Date: 08.10.2015 09:44
> Subject: Re: Official Docker images
>
> The first image is out
> https://hub.docker.com/r/theapachestruts/struts-site-jekyll/
>
> I will update docs how to use it to build the site
>
>
That's necessary as I could not figure out how to do somthing useful with
it ;)
This Email was scanned by Sophos Anti Virus
Re: Official Docker images
Posted by Lukasz Lenart <lu...@apache.org>.
The first image is out
https://hub.docker.com/r/theapachestruts/struts-site-jekyll/
I will update docs how to use it to build the site
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Official Docker images
Posted by Johannes Geppert <jo...@apache.org>.
+1 for creating docker images
My user; johgep
#################################################
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
2015-10-08 8:27 GMT+02:00 Lukasz Lenart <lu...@apache.org>:
> I have created an organisation -
> https://hub.docker.com/u/theapachestruts/ and I'm going to push the
> first image which can be used to build the site locally.
> If you want to join just send to me your DockerHub's username
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2015-10-07 16:51 GMT+02:00 Dave Newton <da...@gmail.com>:
> > Might be nice if it included running sample apps since that seems to trip
> > people up sometimes.
> >
> > On Wed, Oct 7, 2015 at 6:11 AM, Lukasz Lenart <lu...@apache.org>
> > wrote:
> >
> >> Hi,
> >>
> >> What do you think about creating an official images on DockerHub? At
> >> least I would like to use one to support publishing the site but we
> >> can add others as well.
> >>
> >>
> >> Regards
> >> --
> >> Łukasz
> >> + 48 606 323 122 http://www.lenart.org.pl/
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: dev-help@struts.apache.org
> >>
> >>
> >
> >
> > --
> > e: davelnewton@gmail.com
> > m: 908-380-8699
> > s: davelnewton_skype
> > t: @dave_newton <https://twitter.com/dave_newton>
> > b: Bucky Bits <http://buckybits.blogspot.com/>
> > g: davelnewton <https://github.com/davelnewton>
> > so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
Re: Official Docker images
Posted by Lukasz Lenart <lu...@apache.org>.
I have created an organisation -
https://hub.docker.com/u/theapachestruts/ and I'm going to push the
first image which can be used to build the site locally.
If you want to join just send to me your DockerHub's username
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2015-10-07 16:51 GMT+02:00 Dave Newton <da...@gmail.com>:
> Might be nice if it included running sample apps since that seems to trip
> people up sometimes.
>
> On Wed, Oct 7, 2015 at 6:11 AM, Lukasz Lenart <lu...@apache.org>
> wrote:
>
>> Hi,
>>
>> What do you think about creating an official images on DockerHub? At
>> least I would like to use one to support publishing the site but we
>> can add others as well.
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
> --
> e: davelnewton@gmail.com
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton <https://twitter.com/dave_newton>
> b: Bucky Bits <http://buckybits.blogspot.com/>
> g: davelnewton <https://github.com/davelnewton>
> so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Official Docker images
Posted by Christoph Nenning <Ch...@lex-com.net>.
> From: Dave Newton <da...@gmail.com>
> To: Struts Developers List <de...@struts.apache.org>,
> Date: 07.10.2015 16:51
> Subject: Re: Official Docker images
>
> Might be nice if it included running sample apps since that seems to
trip
> people up sometimes.
>
Another image with sample apps and showcase app could make sense. Or maybe
one image for each app. So people can run it locally more easily. But on
the other hand it does not help to understand how things work and how to
adapt it for an own app. To gain understanding it is better to go through
the pain and setup things yourself ;)
Regards,
Christoph
> On Wed, Oct 7, 2015 at 6:11 AM, Lukasz Lenart <lu...@apache.org>
> wrote:
>
> > Hi,
> >
> > What do you think about creating an official images on DockerHub? At
> > least I would like to use one to support publishing the site but we
> > can add others as well.
> >
> >
> > Regards
> > --
> > Łukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
>
>
> --
> e: davelnewton@gmail.com
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton <https://twitter.com/dave_newton>
> b: Bucky Bits <http://buckybits.blogspot.com/>
> g: davelnewton <https://github.com/davelnewton>
> so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
This Email was scanned by Sophos Anti Virus
Re: Official Docker images
Posted by Dave Newton <da...@gmail.com>.
Might be nice if it included running sample apps since that seems to trip
people up sometimes.
On Wed, Oct 7, 2015 at 6:11 AM, Lukasz Lenart <lu...@apache.org>
wrote:
> Hi,
>
> What do you think about creating an official images on DockerHub? At
> least I would like to use one to support publishing the site but we
> can add others as well.
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
--
e: davelnewton@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits <http://buckybits.blogspot.com/>
g: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>