-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
25 lines (18 loc) · 911 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
FROM ubuntu:xenial
MAINTAINER projects@ve3lsr.ca
RUN apt-get update && apt-get install -yq wget unzip libcap2-bin lib32z1 && apt-get clean && rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
RUN mkdir /opt/linbpq
WORKDIR /opt/linbpq
ADD start.sh /opt/linbpq
# Add the linbpq file
ADD http://www.cantab.net/users/john.wiseman/Downloads/Beta/linbpq /opt/linbpq
RUN chmod +x /opt/linbpq
# Add the HTML pages
RUN mkdir /opt/linbpq/HTML
RUN cd HTML; wget http://www.cantab.net/users/john.wiseman/Downloads/Beta/HTMLPages.zip; unzip HTMLPages.zip; rm HTMLPages.zip
# Add BPQAPR Pages
RUN mkdir /opt/linbpq/BPQAPRS
RUN cd BPQAPRS; wget http://www.cantab.net/users/john.wiseman/Documents/Samples/APRSHTML.zip; unzip APRSHTML.zip; rm APRSHTML.zip
# allrf parsing has a buffer size bug. We're overloading the one that comes from John
ADD overwrite/allrf.html /opt/linbpq/BPQAPRS/HTML/allrf.html
ENTRYPOINT ./start.sh