ARG ubuntu_version
FROM ubuntu:${ubuntu_version}

ARG ubuntu_version
RUN apt-get update
RUN apt-get -qq install python3-gi python3-cairo python3-simplejson python3-requests python3-setuptools
RUN apt-get -qq install gir1.2-gtk-3.0 gir1.2-gdkpixbuf-2.0 gir1.2-osmgpsmap-1.0
RUN apt-get -qq install xvfb git

RUN git clone https://github.com/kismetwireless/kismet.git
RUN cd kismet/python_modules/KismetRest && python3 setup.py install

WORKDIR /code
ENV DISPLAY :99.0
CMD Xvfb $DISPLAY

ARG ubuntu_version
FROM ubuntu:${ubuntu_version}

ARG ubuntu_version
RUN apt-get update
RUN apt-get -qq install python3-gi python3-cairo python3-simplejson python3-requests python3-setuptools
RUN apt-get -qq install gir1.2-gtk-3.0 gir1.2-gdkpixbuf-2.0 gir1.2-osmgpsmap-1.0
RUN apt-get -qq install xvfb git

RUN git clone https://github.com/kismetwireless/python-kismet-rest.git
RUN cd KismetRest && python3 setup.py install

WORKDIR /code
ENV DISPLAY :99.0
CMD Xvfb $DISPLAY

Change url for KismetRest module
CI: Change url for KismetRest module
