Pablo Carranza Velez
c422c91b66
Use a custom webpack loader to avoid uncaught exceptions from JSONStream
...
JSONStream is a hybrid executable-library that doesn't get along well with webpack: it tries to run its binary code
which can throw uncaught exceptions. So we use a custom loader for it - which replaces remove-hashbang-loader, as it only
affected JSONStream too.
(I tried replacing JSONStream altogether, but turns out dockerode uses it too)
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-10-31 13:29:59 -07:00
Pablo Carranza Velez
9cc2e47e70
Add a sync.js script to allow syncing a running supervisor container on a local device
...
This handy tool uses the resin-sync module to rsync javascript changes into the running container
on a device in the local network. It allows rapid iterations when testing the supervisor on a real device.
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-08-29 08:24:46 -07:00
Pablo Carranza Velez
225f2318ba
Remove an unnecessary directory from sqlite3 that took 30MB
...
node.dtps was big and useless.
See https://github.com/mapbox/node-sqlite3/issues/861
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-08-25 11:19:10 -07:00
Pablo Carranza Velez
7746d6be99
Use a pinned build of the debian image to build base and gosuper, to avoid unnecessary rebuilds
...
Up to now, a new debian:jessie build would invalidate the cache for the base and gosuper images, slowing down Circle builds.
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2017-07-25 10:52:40 -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
Praneeth Bodduluri
dba752f6b3
Use ARCH= to define the architecture to build. Embedd version into builds
2015-10-13 13:27:57 -03:00
Pagan Gazzard
5e869f50a3
Switch the supervisor-base image to include the deps we require, allowing make builds to work correctly (and faster, caching more) now that the deps have been removed from deps.sh
2015-10-13 13:27:56 -03:00
Aleksis Brezas
3cb5cb9571
one line apt-get
2015-10-13 13:19:45 -03:00
Aleksis Brezas
712647b69e
move package installations to dockerfiles
2015-10-13 13:19:45 -03:00
Praneeth Bodduluri
05a3cba65f
apt-get clean everywhere.
2015-10-13 13:19:43 -03:00
Praneeth Bodduluri
2f861fc4d8
Change the Dockerfile base to something that is unique - Allows to simply change a variable to point to a different base
2015-10-13 13:06:43 -03:00
Praneeth Bodduluri
451cb06faf
Create a variable for BUILDSTEP_REPO
2015-10-13 13:06:43 -03:00
Praneeth Bodduluri
53f3303abc
Use the buildstep pushed to staging & Remove deploy_key
2015-10-13 13:06:42 -03:00
Petros Angelatos
272daea89c
Make supervisor deployable with resin
2015-10-13 13:03:16 -03:00
Petros Angelatos
60c863eeac
Update buildstep version to v0.0.7
2015-10-13 13:03:16 -03:00
Petros Angelatos
4295a8d96e
Update buildstep to v0.0.5
2015-10-13 13:03:14 -03:00
Petros Angelatos
bb2bf83a93
Correct permissions for deploy key
2015-10-13 13:03:14 -03:00
Petros Angelatos
aa6595a767
Use a specific version of buildstep
2015-10-13 13:03:14 -03:00
Petros Angelatos
31e8e7c0c6
Use buildstep to build the supervisor just like a normal resin app
2015-10-13 13:02:49 -03:00
Petros Aggelatos
742c6222c9
Base the image on rpi-buildstep
2015-10-13 12:58:56 -03:00
Petros Aggelatos
de342a9209
Revamp/rewrite of supervisor as a docker application
2015-10-13 12:58:55 -03:00