Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024-07-30 Node-RED - master branch - PR 1 of 2 #776

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .templates/nodered/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,16 @@ FROM nodered/node-red:${DOCKERHUB_TAG}

# reference argument - omitted defaults to null
ARG EXTRA_PACKAGES
ENV EXTRA_PACKAGES=${EXTRA_PACKAGES}

# default user is node-red - need to be root to install packages
USER root

# install packages
RUN apk update && apk add --no-cache eudev-dev ${EXTRA_PACKAGES}
RUN apk add --no-cache eudev-dev ${EXTRA_PACKAGES}

# switch back to default user
USER node-red

# variable not needed inside running container
ENV EXTRA_PACKAGES=

# add-on nodes follow

%run npm install modules list%
10 changes: 7 additions & 3 deletions .templates/nodered/addons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ addons:
- "node-red-node-pi-gpiod"
- "node-red-contrib-influxdb"
- "node-red-contrib-boolean-logic"
- "node-red-node-rbe"
- "node-red-configurable-ping"
- "node-red-dashboard"
default_off:
Expand Down Expand Up @@ -48,8 +47,13 @@ addons:
- "node-red-contrib-generic-ble"
- "node-red-contrib-zigbee2mqtt"
- "node-red-contrib-vcgencmd"
- "node-red-contrib-themes/midnight-red"
- "@node-red-contrib-themes/theme-collection"
- "node-red-contrib-tf-function"
- "node-red-contrib-tf-model"
- "node-red-contrib-post-object-detection"
- "node-red-contrib-bert-tokenizer"
- "node-red-contrib-bert-tokenizer"
- "node-red-node-tail"
- "node-red-contrib-boolean-logic-ultimate"
- "node-red-contrib-chartjs"
- "node-red-contrib-md5"
- "node-red-contrib-pushsafer"