11# use armv7hf compatible base image
2- FROM balenalib/armv7hf-debian:stretch -20191223
2+ FROM balenalib/armv7hf-debian:buster -20191223
33
44# dynamic build arguments coming from the /hooks/build file
55ARG BUILD_DATE
@@ -14,7 +14,7 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1414RUN [ "cross-build-start" ]
1515
1616# version
17- ENV HILSCHERNETPI_NODERED_FB_VERSION 1.0.6
17+ ENV HILSCHERNETPI_NODERED_FB_VERSION 1.1.0
1818
1919# labeling
2020LABEL maintainer="netpi@hilscher.com" \
@@ -27,12 +27,12 @@ COPY "./node-red-contrib-fieldbus/*" "./node-red-contrib-fieldbus/lib/*" "./firm
2727
2828# do installation
2929RUN apt-get update \
30- && apt-get install curl libboost-filesystem1.62 -dev libboost-date-time1.62 -dev libjansson-dev p7zip-full build-essential python-dev \
30+ && apt-get install curl libboost-filesystem -dev libboost-date-time -dev libjansson-dev p7zip-full build-essential python-dev
3131# install node.js V8.x.x
32- && curl -sL https://deb.nodesource.com/setup_8 .x | sudo -E bash - \
33- && apt-get install -y nodejs \
32+ RUN curl -sL https://deb.nodesource.com/setup_12 .x | sudo -E bash - \
33+ && apt-get install -y nodejs
3434# install Node-RED
35- && npm install -g --unsafe-perm node-red@0.20.8 \
35+ RUN npm install -g --unsafe-perm node-red@1.0.3 \
3636# install netx driver
3737 && dpkg -i /tmp/netx-docker-pi-drv-1.1.3.deb \
3838# compile program checking whether we are running on netPI RTE 3 or on Pi with NHAT 52-RTE
@@ -58,10 +58,10 @@ RUN apt-get update \
5858 && npm install \
5959 && cd /root/.node-red \
6060 && npm rebuild \
61- # install fieldbus nodes wrapper library and generate needed libboost V1.61.0 links
61+ # install fieldbus nodes wrapper library and generate needed libboost links
6262 && mv /tmp/fieldbus.node /usr/lib/node_modules/fieldbus/lib \
63- && ln -s /usr/lib/arm-linux-gnueabihf/libboost_filesystem.so.1.62.0 /usr/lib/arm-linux-gnueabihf/libboost_filesystem.so.1.61 .0 \
64- && ln -s /usr/lib/arm-linux-gnueabihf/libboost_system.so.1.62.0 /usr/lib/arm-linux-gnueabihf/libboost_system.so.1.61 .0 \
63+ && ln -s /usr/lib/arm-linux-gnueabihf/libboost_filesystem.so /usr/lib/arm-linux-gnueabihf/libboost_filesystem.so.1.64 .0 \
64+ && ln -s /usr/lib/arm-linux-gnueabihf/libboost_system.so /usr/lib/arm-linux-gnueabihf/libboost_system.so.1.64 .0 \
6565# install netx firmwares from zip
6666 && mkdir /opt/cifx/deviceconfig/FW/channel0 \
6767 && 7z -tzip -r -v: x "/tmp/FWPool.zip" -o/root/.node-red \
0 commit comments