Commit Graph

46 Commits

Author SHA1 Message Date
Koen Kanters
7b65dc631b
Enable TypeScript (#8074)
* Enable Typescript

* Fix tests

* Fix tests again

* Automatically (re)build

* Updates

* Updates

* Update shrinkwrap

* Enable sourcemaps
2021-07-21 19:35:14 +02:00
Koen Kanters
0ea5f14ab7 Fix Docker container not starting on Raspberry Pi. https://github.com/Koenkk/zigbee2mqtt/issues/7662 2021-06-02 19:42:20 +02:00
Koen Kanters
085983d4cd Bump to alpine 3.13 2021-05-24 21:27:49 +02:00
ssiergl
1d8b37eee0
Properly handle SIGTERM and other kernel events (#7230)
* Properly handle SIGTERM and other kernel events

see

https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#handling-kernel-signals

* Update Dockerfile

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-04-29 18:13:41 +02:00
Koen Kanters
aee4e96619 Attempt to fix https://github.com/Koenkk/zigbee2mqtt/issues/7198 2021-04-25 15:27:40 +02:00
Koen Kanters
403de64e5e Copy LICENSE to Docker image 2021-01-28 20:09:36 +01:00
Koen Kanters
de51d4c561 Docker: use node 14 2021-01-28 20:07:19 +01:00
Koen Kanters
c1a1b91a25 Fix docker build 2020-10-09 15:20:05 +02:00
Koen Kanters
ddf3b57ec5
Use 12-alpine3.12 as base Docker image 2020-10-09 13:55:36 +02:00
Gabriele Besta
e0a6b7d348
Add possibility to override execution command at runtime (#3722)
* Add possibility to override execution command at runtime

The entrypoint script initialize container data at runtime.
CMD defines the default executable and can be overridden at runtime.

* Set execution permission to entrypoint script

Necessary to prevent run errors, for example in windows env
2020-06-13 13:20:41 +02:00
Koen Kanters
9d6c7b2614
Revert "Use CMD alongside ENTRYPOINT in the Dockerfile (#3366)" (#3389)
This reverts commit d193673917.
2020-04-18 14:34:21 +02:00
Pranas Ziaukas
d193673917
Use CMD alongside ENTRYPOINT in the Dockerfile (#3366)
This allows for runtime customization, see #3362.
2020-04-15 18:07:01 +02:00
Koen Kanters
eac15a748a npm ci. https://github.com/Koenkk/zigbee2mqtt/issues/2918 2020-02-13 21:31:14 +01:00
Koen Kanters
c5fb651481 Try with v2.8.0 2020-02-08 20:46:26 +01:00
Koen Kanters
7d52a013ad Something wrong with the alpine 12 image? 2020-02-08 20:27:28 +01:00
Daniel Chesterton
77fc851236 Update Docker to Node 12 and use multistage builds to reduce image size (#2703) 2020-01-11 15:11:27 +01:00
Koen Kanters
01dfcd18ce
Install eudev 2019-10-20 17:17:19 +02:00
Koen Kanters
3effa07cf8
Add udevadm #2157 2019-10-20 16:32:00 +02:00
Koen Kanters
7ffe255d93 Install udev. #2145 #2146 2019-10-16 21:54:46 +02:00
Koenkk
9a21e9d956 Migrate to node Docker image and buildx. https://github.com/Koenkk/zigbee2mqtt/issues/2054 2019-09-30 17:29:58 +02:00
Koen Kanters
a7e9ad70e3 Bump alpine to 3.10 and other docker improvements. 2019-09-29 21:55:40 +02:00
Raymond Mouthaan
99ebc46981 Added tzdata and --virtual devtools (#2053)
* Update Dockerfile.arm32v6

using --virtual for devtools, added tzdata

* Update Dockerfile.arm64v8

* Update Dockerfile.amd64

* Lint
2019-09-29 21:32:11 +02:00
Koen Kanters
bd29a5d35c Back to alpine 3.9 2019-09-17 19:59:58 +02:00
Koen Kanters
983f55ce3d npm don’t install dev dependencies. 2019-09-17 19:20:52 +02:00
Koen Kanters
130366575e Bump alpine to 3.10 2019-09-17 19:14:44 +02:00
Koen Kanters
1f6e64b4c0
Fix Docker container being killed instead of stopped. #1482 2019-05-01 20:47:53 +02:00
pixel::doc
bef8a682ca Create docker-compose.yml (#1156) 2019-02-26 20:55:51 +01:00
Koen Kanters
dd8ee60535 Drop node 8 and 9 support. 2019-02-01 17:14:56 +01:00
Koenkk
cc56141c39 Docker unlock nodejs and npm version. 2018-12-06 21:27:41 +01:00
Koenkk
7ca966ce39 npm is not installed by default anymore in Alpine. 2018-11-07 20:25:38 +01:00
Koenkk
fc664bdc68 Fix node version to >=8.11 10 and implement check on startup. https://github.com/Koenkk/zigbee2mqtt/issues/552 2018-11-07 20:05:14 +01:00
Koenkk
8bd08910a4 Docker write hash to correct file. 2018-06-17 16:38:11 +02:00
Koenkk
6985ee1b6e Fix arm32v6 Dockerfile 2018-06-17 11:40:59 +02:00
Koenkk
b5a3fa67d9 Fix commit variable arm docker images. 2018-06-16 22:53:33 +02:00
Koenkk
9f120826c1 Dockerfile fix quotes. 2018-06-16 01:32:54 +02:00
Koenkk
885f50839c Docker build fix exec format error. 2018-06-16 01:15:35 +02:00
Koenkk
d69111f577 Add .hash.json for Docker. 2018-06-16 00:10:08 +02:00
Koenkk
96191a2836 Update log version on startup 2018-06-15 17:49:15 +02:00
Koenkk
811cf2943f Allow DEBUG in Docker. #70 2018-06-01 19:29:03 +02:00
Koenkk
44002ed1c3 Update configure data path code 2018-05-12 10:58:06 +02:00
Koenkk
896a7a097c Use alpine as base image. #22 2018-05-09 22:15:59 +02:00
Koenkk
e371fcae30 Use nodejs 8 (LTS) because nodejs 10 is not supported. 2018-05-07 17:35:26 +02:00
Koen Kanters
03af9da97d Travis build docker images. 2018-04-26 20:35:07 +02:00
Koen Kanters
975bc741e2 Dockerize. #5 2018-04-26 19:37:07 +02:00
Koen Kanters
d06522d488 Refactor and rename. #8 2018-04-18 18:26:13 +02:00
Koen Kanters
6290f6beec Move arm32v7 Docker. 2018-04-14 15:25:57 +00:00