Commit Graph

6 Commits

Author SHA1 Message Date
Pablo Carranza Velez
2413f5cff1 Avoid installing npm dependencies twice 2016-10-10 21:55:56 +00:00
Petros Angelatos
956d79f3c1 revert overly optimistic cleanup of lodash module
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-15 16:26:25 -07:00
Petros Angelatos
0546ba51d9 invoke the linter using npm 2016-09-14 22:33:36 +00:00
Petros Angelatos
fd44a92782 don't install coffeescript in runtime image
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:37 +00:00
Petros Angelatos
429aa1c8d2 do a more comprehensive cleanup of node_modules
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:36 +00:00
Petros Angelatos
488ca41621 build: implement multi-Dockerfile build process
This build strategy lends itself to how Rockerfiles work. In the build
Dockerfile all the build utilities (e.g gcc, python) are installed and
run the build process to produce some build artifacts. There are two
build Dockerfiles, one for the nodejs part and one for the golang part.
The build artifacts of these are combined into the runtime Dockerfile.
For all this to work there is some minimal glue implemented in the
Makefile.

Part of this commit is a switch of the base image the runtime is based
on to the minimal OpenEmbedded one produced by #198

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:35 +00:00