File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ COPY .docker/scripts/entrypoint.sh .
4747FROM base AS build
4848
4949# Install Build tools
50- RUN apt-get update && apt-get install -y build-essential python && \
50+ RUN apt-get update && apt-get install -y build-essential python3 python-is-python3 && \
5151 npm install --unsafe-perm --no-update-notifier --no-fund --only=production && \
5252 npm uninstall node-red-node-gpio && \
5353 cp -R node_modules prod_node_modules
@@ -79,7 +79,7 @@ COPY --from=build /usr/src/node-red/prod_node_modules ./node_modules
7979
8080# Chown, install devtools & Clean up
8181RUN chown -R node-red:root /usr/src/node-red && \
82- apt-get update && apt-get install -y build-essential python -dev python3 && \
82+ apt-get update && apt-get install -y build-essential python3 -dev python3 && \
8383 rm -r /tmp/*
8484
8585RUN npm config set cache /data/.npm --global
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ COPY scripts/entrypoint.sh .
4848FROM base AS build
4949
5050# Install Build tools
51- RUN apt-get update && apt-get install -y build-essential python && \
51+ RUN apt-get update && apt-get install -y build-essential python3 python-is-python3 && \
5252 npm install --unsafe-perm --no-update-notifier --no-fund --only=production && \
5353 npm uninstall node-red-node-gpio && \
5454 cp -R node_modules prod_node_modules
@@ -80,7 +80,7 @@ COPY --from=build /usr/src/node-red/prod_node_modules ./node_modules
8080
8181# Chown, install devtools & Clean up
8282RUN chown -R node-red:root /usr/src/node-red && \
83- apt-get update && apt-get install -y build-essential python -dev python3 && \
83+ apt-get update && apt-get install -y build-essential python3 -dev python3 && \
8484 rm -r /tmp/*
8585
8686RUN npm config set cache /data/.npm --global
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ docker build --rm --no-cache \
99 --build-arg ARCH=amd64 \
1010 --build-arg NODE_VERSION=20 \
1111 --build-arg NODE_RED_VERSION=${NODE_RED_VERSION} \
12- --build-arg OS=bullseye -slim \
12+ --build-arg OS=bookworm -slim \
1313 --build-arg BUILD_DATE=" $( date +" %Y-%m-%dT%H:%M:%SZ" ) " \
1414 --build-arg TAG_SUFFIX=default \
1515 --file Dockerfile.debian \
You can’t perform that action at this time.
0 commit comments