Kostas Lekkas
4d448030a7
dind: bind-mount /bin/kmod:/bin/kmod
2016-09-20 11:35:28 +03:00
Petros Angelatos
143f7d8aef
Merge pull request #256 from resin-io/fix-node-modules
...
revert overly optimistic cleanup of lodash module
2016-09-15 17:57:01 -07: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
1740cf615c
Merge pull request #223 from resin-io/rockerfile-based-build
...
oe-images build system integration
2016-09-14 16:01:53 -07:00
Petros Angelatos
edc7804de7
build: pin runtime image to specific date
...
This will prevent the builds from failing if we update the base image
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 22:33:37 +00:00
Petros Angelatos
0546ba51d9
invoke the linter using npm
2016-09-14 22:33:36 +00:00
Petros Angelatos
762ff2b498
add changelog entries
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 22:33:26 +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
ca91fd179b
compress gosuper with upx
...
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2016-09-14 01:38:37 +00:00
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