mirror of
https://github.com/Cronocide/wifipumpkin3.git
synced 2025-01-22 19:37:18 +00:00
32 lines
858 B
Docker
32 lines
858 B
Docker
FROM ubuntu:18.04
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt-get update \
|
|
&& apt-get -y install \
|
|
hostapd \
|
|
nano \
|
|
iw \
|
|
wireless-tools \
|
|
ifupdown \
|
|
python3.7 \
|
|
python3-pip \
|
|
python3.7-dev \
|
|
iptables \
|
|
net-tools \
|
|
rfkill \
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
# copy all files to app folder
|
|
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 pip
|
|
RUN python3.7 -m pip install pyqt5==5.14
|
|
RUN python3.7 -m pip install -r requirements.txt
|
|
RUN python3.7 setup.py install
|
|
#CMD /usr/local/bin/wifipumpkin3 -m docker
|
|
WORKDIR /root/.config/wifipumpkin3
|
|
CMD /usr/local/bin/wifipumpkin3
|