mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-23 22:32:40 +00:00
Use nodejs 8 (LTS) because nodejs 10 is not supported.
This commit is contained in:
1 parent
8523aa61b0
commit
e371fcae30
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ services:
|
||||
- docker
|
||||
|
||||
node_js:
|
||||
- "9"
|
||||
- "8"
|
||||
|
||||
install:
|
||||
- npm install
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM node:9
|
||||
FROM node:8
|
||||
|
||||
# Copy files
|
||||
ADD . /app
|
||||
|
||||
@@ -3,7 +3,7 @@ FROM resin/armv7hf-debian
|
||||
RUN [ "cross-build-start" ]
|
||||
|
||||
# Install nodejs and git
|
||||
RUN curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
|
||||
RUN curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
|
||||
RUN apt-get update && apt-get install -y git nodejs make g++ && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy files
|
||||
|
||||
Reference in new issue
Block a user