forked from P0cL4bs/wifipumpkin3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (29 loc) · 858 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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