Nice, I like the docker image!


On 6 August 2014 09:47, Matthias Wessendorf <matzew@apache.org> wrote:



On Tue, Aug 5, 2014 at 9:56 PM, Bruno Oliveira <bruno@abstractj.org> wrote:
Good morning peeps,

I would like to open this thread to discuss some ideas about how to
improve the current build on Push server. Lukas have been doing a
stellar job improving it and I think we can help.

Yesterday I spent some time trying to build a developer environment for
UPS — was a good exercise to realize how people feel trying to contribute.
The goal was to build the environment from scratch.

Here comes some feedback (keep in mind that I'm not that good on Node.js)

- Build our dependencies takes a considerable time. For fair
  reasons, we are running mvn install, npm install and bower install
  for the first time. Maybe we can reduce one step?

- Java developers don't have their environment ready for Node — it can
  be a blocker. For example, was necessary to install gcc, libpng and
  libpng-devel. I already saw team members struggling with it, like me.

gcc, libpng etc -> LOL.
yeah, that should NOT Be required 
 

- Maybe we should run -Pdev by default and run the complete build only
  for CI.

yeah, auto activating the -Pdev makes only the very first build take forever.
I think this will improve things already slightly.

 

- Maybe we can minify some JS dependencies and don't build
  everything altogether?

I built an image[1][2], because developers willing to just use UPS with the
latest bits might struggle to configure their environment and maybe it
can be helpful.

That's awesome! This made me install docker :) 
 

The image is not perfect and soon will be moved to jboss/dockerfiles.

Thoughts?

[1] - https://github.com/abstractj/docker/tree/master/aerogear-unifiedpush-dev
[2] - https://registry.hub.docker.com/u/abstractj/unifiedpush-dev/
--

abstractj
PGP: 0x84DC9914
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev