New nodered

This commit is contained in:
Joshua Schnabel (Atlantis)
2020-09-19 00:28:22 +02:00
parent 5aa7741027
commit 2611149ae3
2 changed files with 101 additions and 4 deletions

View File

@ -3,8 +3,16 @@ FROM nodered/node-red:latest-12
USER root
RUN apk update && apk upgrade && \
apk --no-cache add bluez iputils
RUN apk add dhcpdump --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
apk --no-cache add perl libpcap-dev bluez iputils wget
RUN cd /tmp && \
wget http://www.mavetju.org/download/dhcpdump-1.8.tar.gz && \
tar -xzf ./dhcpdump-1.8.tar.gz && \
cd ./dhcpdump-1.8 && \
ls && \
make && \
install -D dhcpdump /usr/bin/dhcpdump
WORKDIR /usr/src/node-red
USER node-red