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 - old-menu branch - PR 2 of 2 #777

Merged
merged 1 commit into from
Sep 5, 2024
Merged
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
15 changes: 8 additions & 7 deletions .templates/nodered/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ node_selection=$(whiptail --title "Node-RED nodes" --checklist --separate-output
"node-red-dashboard" " " "ON" \
"node-red-contrib-influxdb" " " "ON" \
"node-red-contrib-boolean-logic" " " "ON" \
"node-red-node-rbe" " " "ON" \
"node-red-configurable-ping" " " "ON" \
"node-red-node-openweathermap" " " "OFF" \
"node-red-contrib-discord" " " "OFF" \
Expand Down Expand Up @@ -46,11 +45,17 @@ node_selection=$(whiptail --title "Node-RED nodes" --checklist --separate-output
"node-red-contrib-generic-ble" " " "OFF" \
"node-red-contrib-zigbee2mqtt" " " "OFF" \
"node-red-contrib-vcgencmd" " " "OFF" \
"node-red-contrib-themes/midnight-red" " " "OFF" \
"node-red-contrib-tf-function" " " "OFF" \
"node-red-contrib-tf-model" " " "OFF" \
"node-red-contrib-post-object-detection" " " "OFF" \
"node-red-contrib-bert-tokenizer" " " "OFF" \
"node-red-contrib-boolean-logic-ultimate" " " "OFF" \
"node-red-contrib-chartjs" " " "OFF" \
"node-red-contrib-md5" " " "OFF" \
"node-red-contrib-pushsafer" " " "OFF" \
"node-red-node-tail" " " "OFF" \
"@flowfuse/node-red-dashboard" " " "OFF" \
"@node-red-contrib-themes/theme-collection" " " "OFF" \
3>&1 1>&2 2>&3)

##echo "$check_selection"
Expand All @@ -70,20 +75,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

EOT
Expand Down