Nerivec
0b62aefbb2
fix(ignore): Force rebuild of @serialport/bindings-cpp in Docker ( #25202 )
2024-12-15 20:38:41 +01:00
Koen Kanters
146b6c3860
fix(ignore): Rebuild serialport, attempt to fix #25092
2024-12-13 21:25:50 +01:00
Koen Kanters
a2027d79e8
fix(ignore): Add back linux/386 ( #25187 )
2024-12-13 20:35:11 +01:00
Koen Kanters
1dde41f7ea
chore: Lint Dockerfile
2024-12-11 22:45:38 +01:00
Stijn Tintel
e23d300fd9
feat: Docker: RISC-V support ( #22824 )
...
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-11 22:42:37 +01:00
Koen Kanters
32c341c7f5
fix!: Docker: update Alpine to 3.21, drop x86 support ( #25171 )
2024-12-11 22:31:24 +01:00
alorente
b370b80dfb
fix: Add more OCI Image Labels ( #25074 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-05 20:12:23 +01:00
Koen Kanters
cc61f67215
fix(ignore): some fixes
2024-12-01 20:11:34 +01:00
Koen Kanters
23d8cea4e2
fix: Cleanup Dockerfile
2024-12-01 20:11:34 +01:00
Koen Kanters
b6186623f0
feat!: The big cleanup ( #24200 )
...
* Remove `deviceGroupMembership`
* Fix controller.ts
* Remove `legacy_api` logic from non-legacy extensions.
* Fix network map coverage.
* Remove all `legacy` extensions.
* Remove `legacy_availability_payload`, `legacy_api`. Remove legacy from configure.
* Fix prettier.
* Remove some leftovers
* Renamed `updateAvailable` to `update_available`
* Remove emitPublishAvailability
* Remove `configuration.yaml`
* Switch to pnpm
* Remove direct mqtt-packet dependency.
* fix pretty
* fix `getDependencyVersion`
* fix pnpm publish
* fix(ignore): fix pnpm publish
* Remove deprecated bridge `config/*`
* Improve update script
* Improve update.sh
---------
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
2024-12-01 20:06:49 +01:00
Andre Klärner
a5748d620b
fix: Add OCI labels to image ( #23578 )
...
this adds Docker Labels according to the OCI Image Format Specification
which means that tools like renovate can automatically find the
changelogs from a docker image, helping the people like me judge the
impact of upgrading their z2m instance from the pull request renovate
generates.
2024-08-11 21:59:44 +02:00
Koen Kanters
02dc8a7b87
chore: apply prettier to whole repo
2024-07-29 21:21:24 +02:00
koenkk
c16abdd832
fix: Use Alpine 3.18.4 as base https://github.com/Koenkk/zigbee2mqtt/issues/20868
2024-01-30 20:13:08 +01:00
koenkk
82fea1fe41
Revert "fix(ignore): Update alpine to 3.19.0 ( #20392 )"
...
This reverts commit eaaf1b0b4f .
2023-12-27 13:21:16 +01:00
Koen Kanters
eaaf1b0b4f
fix(ignore): Update alpine to 3.19.0 ( #20392 )
2023-12-27 12:35:54 +01:00
koenkk
be17544598
Revert "chore: Bump alpine from 3.18.5 to 3.19.0 in /docker ( #20103 )"
...
This reverts commit 81033700e2 .
2023-12-09 14:16:22 +01:00
dependabot[bot]
81033700e2
chore: Bump alpine from 3.18.5 to 3.19.0 in /docker ( #20103 )
...
Bumps alpine from 3.18.5 to 3.19.0.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 19:53:32 +01:00
dependabot[bot]
982af4b724
chore: Bump alpine from 3.18.4 to 3.18.5 in /docker ( #19962 )
...
Bumps alpine from 3.18.4 to 3.18.5.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 19:52:54 +01:00
dependabot[bot]
ccc0f7ce53
chore: Bump alpine from 3.18.3 to 3.18.4 in /docker ( #19116 )
...
Bumps alpine from 3.18.3 to 3.18.4.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 10:58:37 +02:00
Koen Kanters
0543ad4b19
fix: Fix configuration.example.yaml missing from container ( #18836 )
2023-09-02 08:51:50 +02:00
dependabot[bot]
e0038380c7
chore: Bump alpine from 3.18.2 to 3.18.3 in /docker ( #18554 )
...
Bumps alpine from 3.18.2 to 3.18.3.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 19:37:05 +02:00
Koen Kanters
68ec507e30
fix: Add secure default config ( #18357 )
...
* fix: Add secure default config. https://github.com/Koenkk/zigbee2mqtt/issues/16188
* Enable frontend by default
2023-08-03 20:48:23 +02:00
dependabot[bot]
38de19bb2c
chore: Bump alpine from 3.18.0 to 3.18.2 in /docker ( #18030 )
2023-06-15 18:56:06 +02:00
dependabot[bot]
aeb737012c
Bump alpine from 3.17.3 to 3.18.0 in /docker ( #17630 )
...
Bumps alpine from 3.17.3 to 3.18.0.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 19:43:37 +02:00
dependabot[bot]
2d1733d0e7
Bump alpine from 3.17.2 to 3.17.3 in /docker ( #17189 )
...
Bumps alpine from 3.17.2 to 3.17.3.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-30 18:41:09 +02:00
dependabot[bot]
600e743941
Bump alpine from 3.17.1 to 3.17.2 in /docker ( #16659 )
...
Bumps alpine from 3.17.1 to 3.17.2.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 19:23:38 +01:00
dependabot[bot]
75533c20b8
Bump alpine from 3.17.0 to 3.17.1 in /docker ( #16081 )
...
Bumps alpine from 3.17.0 to 3.17.1.
---
updated-dependencies:
- dependency-name: alpine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-12 09:42:42 +01:00
Koen Kanters
8d8c46ecae
Reduce Docker image size
2022-12-24 09:45:15 +01:00
Gustav Westling
83fae81724
docker: rebuild serialport from source ( #15400 )
...
* docker: rebuild serialport from source
* Update Dockerfile
* Update Dockerfile
* Update Dockerfile
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-12-07 17:54:24 +01:00
Koen Kanters
fb14ba20ca
Update Docker image to use node:18-alpine3.16 ( #14915 )
2022-11-10 17:48:17 +01:00
Koen Kanters
41053aa024
Set NODE_ENV to PRODUTION in Docker container. https://github.com/Koenkk/zigbee2mqtt/discussions/14625
2022-10-24 19:30:40 +02:00
John Doe
d064a73131
Rework ci and use package-lock.json instead of npm-shrinkwrap.json ( #12631 )
...
* Update ci
* Use package-lock
* Use package-lock.json
* Use cache for ci
* Enable node18 windows
* Revert "Enable node18 windows"
This reverts commit e427551acdd64c3a256b48a5b8e86b3c4c986405.
* Remove redundant cache
* Don't do shrinkwrap
* Remove shrinkwrap
* Remove redundant step
* Cache node-gyp
* Debug
* Add key
* Update ci.yml
* Add cache detection
* Fix
* Add deps
* Fix2
* Update caches
* Fix ci
* Update patsh
* Update paths
* Update paths
* Fix max cache path
* Change cache key
* Remove spaces
* Split caches
* Fix linux cache
* Fix linux cache
* Merge caches
* Ignore errs
* Find only dirs
* Run find after ci
* Fix mac cache
* Fix caches
* Remove env run
Co-authored-by: nurikk <ainur@yojee.com >
2022-06-02 14:38:07 +00:00
Koen Kanters
cabef43421
Revert "Switch to package-lock.json"
...
This reverts commit 0163b7281a .
2022-04-03 08:49:03 +02:00
Koen Kanters
8fd8df75be
Reduce Docker image size again.
2022-04-02 21:50:12 +02:00
Koen Kanters
51f8c1c487
Fix Docker build
2022-04-02 21:13:22 +02:00
Koen Kanters
aeb9927c20
Reduce Docker image build time
2022-04-02 21:09:02 +02:00
Koen Kanters
0163b7281a
Switch to package-lock.json
2022-04-02 20:57:44 +02:00
Koen Kanters
b515c3213f
Node 16 ( #11804 )
...
* Node 16
* More Node 16
2022-03-11 20:39:25 +01:00
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