Skip to content

Commit

Permalink
Remove Python 2 (#315)
Browse files Browse the repository at this point in the history
* Bump dev to 3.0.0-beta.3

* Remove Python2 from alpine builds
  • Loading branch information
hardillb authored Jun 17, 2022
1 parent b4482a0 commit ef0b7be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-custom/Dockerfile.custom
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-custom/scripts/install_devtools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ef0b7be

Please sign in to comment.