diff --git a/CHANGELOG.md b/CHANGELOG.md index d48f8bc..ed2456b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file. ### Fixed - fixed: dockerfile Could not find suitable distribution for Requirement.parse('zope-interface>=5') +- fixed: ERROR: Package 'wifipumpkin3' requires a different Python: 3.7.5 not in '>=3.8' ## [Released] diff --git a/Dockerfile b/Dockerfile index 486ef3d..a0dad10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,9 @@ RUN apt-get update \ iw \ wireless-tools \ ifupdown \ - python3.7 \ + python3.8 \ python3-pip \ - python3.7-dev \ + python3.8-dev \ iptables \ net-tools \ rfkill \ @@ -22,10 +22,10 @@ COPY . /usr/src/app WORKDIR /usr/src/app COPY config/hostapd/hostapd.conf /etc/hostapd/hostapd.conf #RUN pip3 --version -RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 1 -RUN python3.7 -m pip install --upgrade pip -RUN python3.7 -m pip install pyqt5==5.14 -RUN python3.7 -m pip install . +RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 +RUN python3.8 -m pip install --upgrade pip +RUN python3.8 -m pip install pyqt5==5.14 +RUN python3.8 -m pip install . #CMD /usr/local/bin/wifipumpkin3 -m docker WORKDIR /root/.config/wifipumpkin3 CMD /usr/local/bin/wifipumpkin3