Commit Graph

12 Commits

Author SHA1 Message Date
Pablo Carranza Velez
8dfc559126 Move dindctl to the base of the repository
This makes it easier to use, as it's meant to be used constantly when developing. No need to change PATH
or type `./tools/dev/dindctl`, just run `./dindctl` now.

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-07-20 21:22:25 -03:00
Pablo Carranza Velez
8d84facff5 Add a single Dockerfile to build the supervisor as a multi-stage build
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-07-20 21:22:25 -03: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
Pablo Carranza Vélez
346e36f52b Add a script to retry docker push when deploying 2015-10-13 13:45:04 -03:00
Pablo Carranza Vélez
9bc2f6212d Handle App not found in purge, + cleanup
* gosuper in dockerignored folder
* correctly handle app not found in purge
* test formatting in test-gosuper
* Fix test-gosuper
* DRY up test-integration
2015-10-13 13:43:36 -03:00
Pagan Gazzard
6c2467cca8 Allow running the supervisor in the devenv using docker in docker. 2015-10-13 13:42:23 -03:00
James
c9b149cab2 Update dockerignore file 2015-10-13 13:39:38 -03:00
Eugene Mirotin
c18556a8db dockerignore for editorconfig and coffeelint.json 2015-10-13 13:39:37 -03:00
Pagan Gazzard
ce2c4c8eaa Add .dockerignore and Dockerfile to the .dockerignore, this stops the temporary Dockerfile from invalidating the docker cache. 2015-10-13 13:36:14 -03:00
Pagan Gazzard
a7f546db24 Add the dockerfiles and the makefile to .dockerignore, so they don't take space on the image or invalidate the cache. 2015-10-13 13:36:13 -03:00
Pagan Gazzard
25e7afe4aa Add node_modules to the .dockerignore 2015-10-13 13:36:13 -03:00
Pagan Gazzard
43df63b46b Make sure the .git folder is either removed or not included in the first place. 2015-10-13 13:10:11 -03:00