diff --git a/.docker/Dockerfile.alpine b/.docker/Dockerfile.alpine index 1ad6acb2..cecbd5a9 100644 --- a/.docker/Dockerfile.alpine +++ b/.docker/Dockerfile.alpine @@ -44,7 +44,7 @@ COPY flows.json /data FROM base AS build # Install Build tools -RUN apk add --no-cache --virtual buildtools build-base linux-headers udev python2 && \ +RUN apk add --no-cache --virtual buildtools build-base linux-headers udev python3 && \ npm install --unsafe-perm --no-update-notifier --no-audit --no-fund --only=production && \ /tmp/remove_native_gpio.sh && \ cp -R node_modules prod_node_modules diff --git a/docker-custom/Dockerfile.custom b/docker-custom/Dockerfile.custom index 47a37006..cff4d37a 100644 --- a/docker-custom/Dockerfile.custom +++ b/docker-custom/Dockerfile.custom @@ -43,7 +43,7 @@ COPY flows.json /data FROM base AS build # Install Build tools -RUN apk add --no-cache --virtual buildtools build-base linux-headers udev python2 && \ +RUN apk add --no-cache --virtual buildtools build-base linux-headers udev python3 && \ npm install --unsafe-perm --no-update-notifier --no-fund --only=production && \ /tmp/remove_native_gpio.sh && \ cp -R node_modules prod_node_modules diff --git a/docker-custom/scripts/install_devtools.sh b/docker-custom/scripts/install_devtools.sh index 4c10295f..d53acc2f 100755 --- a/docker-custom/scripts/install_devtools.sh +++ b/docker-custom/scripts/install_devtools.sh @@ -4,7 +4,7 @@ set -ex # Installing Devtools if [[ ${TAG_SUFFIX} != *"minimal" ]]; then echo "Installing devtools" - apk add --no-cache --virtual devtools build-base linux-headers udev python2 python3 + apk add --no-cache --virtual devtools build-base linux-headers udev python3 else echo "Skip installing devtools" fi