Skip to content

Commit

Permalink
use alpine:3 as base
Browse files Browse the repository at this point in the history
  • Loading branch information
vimagick committed Jul 21, 2024
1 parent 5969e4d commit 7ce93db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Dockerfile for node-red
#

FROM alpine:3.12
FROM alpine:3
MAINTAINER EasyPi Software Foundation

ARG NODERED_VERSION
Expand All @@ -17,11 +17,12 @@ RUN set -xe \
dumb-init \
gcompat \
nodejs \
nodejs-npm \
npm \
python3 \
python3-dev \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& ln -sf /lib /lib64 \
&& rm /usr/lib/python3.11/EXTERNALLY-MANAGED \
&& python -m ensurepip \
&& pip3 install --no-cache-dir rpi.gpio \
&& npm install -g --unsafe-perm \
Expand Down

0 comments on commit 7ce93db

Please sign in to comment.