-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
37 lines (26 loc) · 888 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
32
33
34
35
36
37
# derive from our baseimage
FROM envoi/rtlsdr-base:latest
MAINTAINER Anton S. <[email protected]>
LABEL Description="RTLSDR Multimon-ng in Docker"
LABEL Vendor="Envoi"
LABEL Version="0.0.1"
RUN apt-get update \
&& apt-get install -y --no-install-recommends qt4-qmake libpulse-dev libx11-dev lighttpd \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN ldconfig
RUN git clone --depth 1 --progress git://github.com/EliasOenal/multimon-ng.git /tmp/multimon-ng
RUN mkdir /tmp/multimon-ng/build
WORKDIR /tmp/multimon-ng/build
RUN qmake ../multimon-ng.pro PREFIX=/usr/local
RUN make
RUN make install
RUN mkdir /var/www/pager/
RUN chmod 777 /var/www/pager/
EXPOSE 8080
VOLUME ["/var/www/pager"]
WORKDIR /var/www
RUN git clone --depth 1 --progress https://github.com/derekeder/csv-to-html-table /var/www/csv-to-html-table
COPY index.html /var/www
COPY ./run.sh /
ENTRYPOINT ["/run.sh"]