Skip to content

Commit

Permalink
Merge pull request #84 from TomHutter/master
Browse files Browse the repository at this point in the history
fixed "error in PyBluez setup command: use_2to3 is invalid." during docker build
  • Loading branch information
TheWeirdDev committed Aug 19, 2022
2 parents 9cc9cf0 + cb4d3a1 commit 3604d84
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==v58.0.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 3604d84

Please sign in to comment.