Petros Angelatos
83393c04e3
switch to golang 1.6 to make the binary upx-able
...
https://github.com/golang/go/issues/13974
5e7110b92b
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:36 +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
e70ee292a6
minimise ENV commands to have less image layers
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:36 +00:00
Petros Angelatos
eee400f39f
integrate with busybox init system
...
busybox's init uses /etc/inittab for configuration just like sysvinit,
however it doesn't use any runlevels.
the tty part of inittab is appended to "/dev/", and it becomes connected
to the stdout of the spawned process
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:35 +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
Petros Angelatos
276c89e7c5
churn: pretty format Makfile targets
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:02 +00:00
Petros Angelatos
8ad4411469
cleanup: remove unused tar file from old deltas
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:01 +00:00
Petros Angelatos
8567a6a222
build: remove dockerfiles for debian and alpine
...
The old build system will be replaced
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:01 +00:00
Petros Angelatos
d00c6f3952
Merge pull request #198 from resin-io/oe-base-image
...
Open Embedded base image
2016-09-14 02:36:45 +01:00
Petros Angelatos
b4ae4d5444
update nodejs to 6.5.0
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-13 16:31:28 -07:00
Petros Angelatos
ca92a63cd6
install iptables in runtime image
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-13 16:31:28 -07:00
Trong Nghia Nguyen
17ca9b4320
use shared folders (downloads and sstate) in yocto build
2016-09-13 16:31:28 -07:00
Petros Angelatos
cad8bc7c49
use 'rpi' instead of armv6 for dockerhub repos
...
currently all our armv6 images are tagged as rpi in dockerhub
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-13 16:31:28 -07:00
Petros Angelatos
7cdff581ed
match nodejs ABI as compiled by debian armel port
...
Generally, the armel port of debian targets the armv4t ABI. However
nodejs is specifically compiled against armv5t-vfp so we choose to have
the whole base image as such.
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-13 16:31:28 -07:00
Petros Angelatos
279adde8bf
match raspbian's armv6 ABI
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-13 16:31:28 -07:00
Petros Angelatos
a9d43a58c3
add .dockerignore for base-image Dockerfile
...
The `docker build` only creates the build environment. No need to send
the huge context to the docker daemon
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-13 16:31:27 -07:00
Petros Angelatos
ebf3cc20ef
match debian armhf ABI
...
https://wiki.debian.org/ArmHardFloatPort#Minimum_CPU_.26_FPU
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-13 16:31:27 -07:00
Petros Angelatos
35d62a73be
fix machine selection in base-image automation script
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-13 16:31:27 -07:00
Petros Angelatos
71dedbab39
Update nodejs dependency to 6.3
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-13 16:31:27 -07:00
Trong Nghia Nguyen
679691711d
Add build info for multi-arch (i386, armel, armv6, armv7hf)
2016-09-13 16:31:27 -07:00
Trong Nghia Nguyen
40d9a47a2e
Use dummy kernel
2016-09-13 16:31:27 -07:00
Trong Nghia Nguyen
deb2e46c5d
Change format for rootfs to gzip
2016-09-13 16:31:27 -07:00
Trong Nghia Nguyen
08b64592e2
add automation script for supervisor-base images
2016-09-13 16:31:27 -07:00
Petros Angelatos
279a332464
add build environment dockerfile
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-13 16:31:27 -07:00
Trong Nghia Nguyen
eea5ddd327
Fix relative paths
2016-09-13 15:02:47 -07:00
Petros Angelatos
7679a1e33f
initial skeleton for openembedded based docker image
...
This commit adds two openembedded layers as submodules and a default
configuration to build a minimal image
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-13 15:02:43 -07:00
Pablo Carranza Vélez
0dcee16cb6
Merge pull request #253 from resin-io/empty-host-gosuper
...
DRY up calls to gosuper API, and use empty Host header
2016-09-13 18:37:32 -03:00
Pablo Carranza Velez
16e2ec286e
DRY up calls to gosuper API, and use empty Host header
2016-09-13 16:52:25 -03:00
Pablo Carranza Velez
f20947c2d2
2.1.1
2016-09-09 09:24:04 -03:00
Praneeth
700e5b87ea
Merge pull request #248 from resin-io/Issue-247
...
Add iptables rules to allow resin-vpn named interface to be used by VPN
2016-09-09 17:42:24 +05:30
Praneeth Bodduluri
2cc4b0fb46
Add iptables rules to allow resin-vpn named interface to be used by VPN
2016-09-09 17:41:35 +05:30
Page-
291c542fd3
Merge pull request #251 from resin-io/update-coffeescript
...
Update to coffee-script ~1.10.0
2016-09-08 13:35:44 -07:00
Pagan Gazzard
ebec23d0d8
Update to coffee-script ~1.10.0
2016-09-08 11:58:12 -07:00
Pablo Carranza Vélez
c4f33d55ea
Merge pull request #118 from resin-io/exec-format-error
...
Catch exec format error and provide friendlier message
2016-09-06 17:28:27 -03:00
Alexios Theodoros Brezas
12a4560518
Catch exec format error and provide friendlier message
2016-09-05 18:22:20 +00:00
Pablo Carranza Velez
99bd85e938
2.1.0
2016-09-05 17:59:44 +00:00
Pablo Carranza Vélez
1ad24ddd21
Merge pull request #245 from resin-io/issue_260-from-meta-resin
...
device.coffee: Remove hardcode of resin-boot partitions's mount point
2016-09-05 14:57:53 -03:00
Theodor Gherzan
4d2fe03793
CHANGELOG.md: Sign
...
Signed-off-by: Theodor Gherzan <theodor@gherzan.ro>
2016-09-05 17:20:24 +00:00
Theodor Gherzan
32bf433af1
device.coffee: Remove hardcode of resin-boot partitions's mount point
...
Signed-off-by: Theodor Gherzan <theodor@gherzan.ro>
2016-09-02 19:55:01 +00:00
Pablo Carranza Velez
de1f6a8f67
2.0.0
2016-08-31 18:16:49 +00:00
Pablo Carranza Vélez
e9105aa9a0
Merge pull request #213 from resin-io/174-throttle-logs
...
Change the logger to send at a specific interval and with a different…
2016-08-31 15:12:17 -03:00
Pablo Carranza Velez
ec178f7a7f
Use a more conservative message size, and properly account for URI encoding
2016-08-31 16:28:42 +00:00
Pablo Carranza Velez
78b4570b93
Allow storing several messages, will allow us to withstand log bursts better
...
Also, send a warning message when we start dropping logs.
2016-08-29 19:03:06 -03:00
Pablo Carranza Velez
a8dd29cd82
Change the logger to send at a specific interval and with a different message format
...
Log messages to PubNub are now an array instead of an object.
Each element of the array is an object with m (message), t (timestamp) and s (isSystem, optional) attributes.
Logs are sent at a specific interval (110ms, fit with some margin to PubNub's approximated 10 messages/s limit), and truncated to PubNub's 32KB limit.
2016-08-29 19:03:06 -03:00
Pablo Carranza Vélez
4f6f59b80e
Merge pull request #240 from resin-io/fix-makefile
...
Fix proxies assignment in Makefile
2016-08-26 18:20:00 -03:00
Pablo Carranza Velez
a20084d906
Fix proxies assignment in Makefile
2016-08-23 10:23:18 -03:00
Pablo Carranza Velez
6de51543a5
1.14.0
2016-08-16 21:02:30 +00:00
Pablo Carranza Vélez
016a82586e
Merge pull request #232 from resin-io/231-header-auth
...
WIP: Allow using an HTTP header for auth
2016-08-16 18:00:55 -03:00
Pablo Carranza Velez
1eb63366ee
Allow using an HTTP header for auth
2016-08-16 20:39:55 +00:00
Pablo Carranza Vélez
439bac6331
Merge pull request #229 from resin-io/228-iptables
...
Add iptables rules to block requests to the supervisor API from all interfaces except vpn, docker and local
2016-08-16 17:36:19 -03:00