Skip to content

Commit

Permalink
fixed "error in PyBluez setup command: use_2to3 is invalid." during d…
Browse files Browse the repository at this point in the history
…ocker build
  • Loading branch information
TomHutter committed Aug 3, 2022
1 parent 9cc9cf0 commit 683ca1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
FROM python:3.9-slim-bullseye as builder
RUN apt update && apt install -y build-essential bluetooth libbluetooth-dev
WORKDIR /app
RUN pip3 wheel --no-cache-dir --no-deps --wheel-dir /app/wheel/ pybluez
RUN pip3 install setuptools==v57.5.0 && \
pip3 wheel --no-cache-dir --no-deps --wheel-dir /app/wheel/ pybluez

### Final
FROM python:3.9-slim-bullseye
Expand Down

0 comments on commit 683ca1d

Please sign in to comment.