mirror of
https://github.com/Cronocide/wifipumpkin3.git
synced 2025-01-22 11:18:55 +00:00
28 lines
565 B
Docker
28 lines
565 B
Docker
|
FROM ubuntu
|
||
|
|
||
|
ENV DEBIAN_FRONTEND noninteractive
|
||
|
|
||
|
RUN apt-get update \
|
||
|
&& apt-get -y install \
|
||
|
dnsmasq \
|
||
|
hostapd \
|
||
|
nano \
|
||
|
vim \
|
||
|
ifupdown \
|
||
|
python3 \
|
||
|
python3-dev \
|
||
|
python3-pip \
|
||
|
iptables \
|
||
|
net-tools \
|
||
|
rfkill \
|
||
|
udev \
|
||
|
&& 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 install -r requirements.txt
|
||
|
RUN python3 setup.py install
|
||
|
CMD /bin/bash
|
||
|
|