Skip to content

Commit 7bab634

Browse files
chore(docker): fix arm build
1 parent 929982a commit 7bab634

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

Docker/ARM/Dockerfile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
FROM nodered/node-red-docker:rpi-v8
22
COPY Docker/ARM/qemu-arm-static /usr/bin
33

4-
# build and package
5-
RUN mkdir /tmp/install
6-
WORKDIR /tmp/install
7-
COPY --chown=node-red package*.json ./
8-
RUN npm install
9-
COPY --chown=node-red . .
10-
11-
RUN npm pack
12-
RUN cp *.tgz /usr/src/node-red
13-
RUN cd .. && rm -rf /tmp/install
14-
4+
# Install the node from npm for ARM builds
155
WORKDIR /usr/src/node-red
16-
RUN npm install `ls mindconnect-node-red-contrib*.tgz`
17-
RUN rm mindconnect-node-red-contrib*.tgz
6+
RUN npm install @mindconnect/node-red-contrib-mindconnect@latest

0 commit comments

Comments
 (0)