Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter

- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
This commit is contained in:
Eric F
2026-06-08 00:38:27 -04:00
parent 468cfeaa50
commit d398a6ced2
7326 changed files with 1177561 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
FROM nodered/node-red:4.1.2
RUN npm install node-red-dashboard@3.6.6
RUN npm install node-red-contrib-ui-actions@0.1.8
RUN npm install node-red-node-ui-table@0.4.5
RUN npm install node-red-contrib-ui-level@0.1.46
COPY nodered-settings.js /data/settings.js
USER root
COPY entrypoint.sh /entrypoint.sh
ARG TARGETARCH
COPY entrypoint_wrapper.sh /entrypoint_wrapper.sh
RUN if [ ${TARGETARCH} != "amd64" ]; then \
mv /entrypoint.sh /wrapped_entrypoint.sh; \
cp /entrypoint_wrapper.sh /entrypoint.sh; \
fi; \
rm /entrypoint_wrapper.sh
USER node-red
ENTRYPOINT [ "/entrypoint.sh" ]

View File

@@ -0,0 +1,10 @@
#!/bin/sh
exec npm \
--no-update-notifier \
--no-fund \
start \
--cache /data/.npm \
-- \
--userDir /data \
"$@"

View File

@@ -0,0 +1,37 @@
#!/bin/sh
# ---------------------------------------------
# Architecture Warning Wrapper Script
#
# This script is used as an entrypoint wrapper to emit a warning
# when the container is not running on the officially supported
# amd64 (x86_64) architecture.
#
# It checks for the presence of a wrapped entrypoint script
# (/wrapped_entrypoint.sh) and executes it if found; otherwise,
# it falls back to executing the provided command directly.
#
# The warning is shown both before and after the wrapped command
# to ensure visibility.
# ---------------------------------------------
function print_warning {
echo -e "\033[0;31m"
echo "-------------------------------------------------------------"
echo "⚠️ WARNING: Unsupported Architecture Detected"
echo
echo "This Docker image is not running on the amd64 (x86_64) architecture."
echo "It is recommended to use the amd64-based image for full compatibility."
echo "Other architectures are not officially supported and may cause issues."
echo
echo "-------------------------------------------------------------"
echo -e "\033[0m"
}
print_warning
if [ -f /wrapped_entrypoint.sh ]; then
exec /wrapped_entrypoint.sh "$@"
else
exec "$@"
fi

View File

@@ -0,0 +1,20 @@
module.exports = {
// Flow file location
flowFile: 'flows.json',
// Enable projects
enableProjects: process.env.NODE_RED_ENABLE_PROJECTS === 'true',
// HTTP settings
httpNodeRoot: '/',
httpAdminRoot: '/',
// Logging
logging: {
console: {
level: "info",
metrics: false,
audit: false
}
}
};