Skip to content

Commit ef0b7be

Browse files
authored
Remove Python 2 (#315)
* Bump dev to 3.0.0-beta.3 * Remove Python2 from alpine builds
1 parent b4482a0 commit ef0b7be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.docker/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ COPY flows.json /data
4444
FROM base AS build
4545

4646
# Install Build tools
47-
RUN apk add --no-cache --virtual buildtools build-base linux-headers udev python2 && \
47+
RUN apk add --no-cache --virtual buildtools build-base linux-headers udev python3 && \
4848
npm install --unsafe-perm --no-update-notifier --no-audit --no-fund --only=production && \
4949
/tmp/remove_native_gpio.sh && \
5050
cp -R node_modules prod_node_modules

docker-custom/Dockerfile.custom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ COPY flows.json /data
4343
FROM base AS build
4444

4545
# Install Build tools
46-
RUN apk add --no-cache --virtual buildtools build-base linux-headers udev python2 && \
46+
RUN apk add --no-cache --virtual buildtools build-base linux-headers udev python3 && \
4747
npm install --unsafe-perm --no-update-notifier --no-fund --only=production && \
4848
/tmp/remove_native_gpio.sh && \
4949
cp -R node_modules prod_node_modules

docker-custom/scripts/install_devtools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -ex
44
# Installing Devtools
55
if [[ ${TAG_SUFFIX} != *"minimal" ]]; then
66
echo "Installing devtools"
7-
apk add --no-cache --virtual devtools build-base linux-headers udev python2 python3
7+
apk add --no-cache --virtual devtools build-base linux-headers udev python3
88
else
99
echo "Skip installing devtools"
1010
fi

0 commit comments

Comments
 (0)