Skip to content

Commit

Permalink
Dump1090 piaware 3.8.1 (#22)
Browse files Browse the repository at this point in the history
* chore: update piaware and dump1090 to v3.8.1
* chore: build tcl-tls
* fix: new config.js
  • Loading branch information
Thom-x authored Apr 30, 2020
1 parent 8077a01 commit 7ad29dc
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 11 deletions.
41 changes: 30 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM debian:buster as dump1090

ENV DUMP1090_VERSION v3.8.0
ENV DUMP1090_VERSION v3.8.1

# DUMP1090
RUN apt-get update && \
Expand All @@ -24,7 +24,7 @@ RUN git clone -b ${DUMP1090_VERSION} --depth 1 https://github.com/flightaware/du
FROM debian:buster as piaware

ENV DEBIAN_VERSION buster
ENV PIAWARE_VERSION v3.8.0
ENV PIAWARE_VERSION v3.8.1

# PIAWARE
WORKDIR /tmp
Expand Down Expand Up @@ -63,13 +63,14 @@ RUN ./sensible-build.sh ${DEBIAN_VERSION} && \

FROM debian:buster-slim as serve

ENV DEBIAN_VERSION buster
ENV RTL_SDR_VERSION 0.6.0
ENV FR24FEED_VERSION 1.0.18-5

MAINTAINER maugin.thomas@gmail.com

RUN apt-get update && \
# rtl-sdr
# rtl-sdr
apt-get install -y \
wget \
devscripts \
Expand All @@ -84,14 +85,13 @@ RUN apt-get update && \
libboost-program-options-dev \
libboost-regex-dev \
libboost-filesystem-dev \
libtcl \
net-tools \
tclx \
tcl \
tcllib \
tcl-tls \
itcl3 \
librtlsdr-dev \
libtcl \
net-tools \
tclx \
tcl \
tcllib \
itcl3 \
librtlsdr-dev \
pkg-config \
libncurses5-dev \
libbladerf-dev && \
Expand All @@ -112,6 +112,25 @@ RUN mkdir -p /etc/modprobe.d && \
make install && \
ldconfig && \
rm -rf /tmp/rtl-sdr

# Build & Install dependency tcl-tls from source code.
# Install dependencies
RUN apt-get update && \
apt-get install -y \
libssl-dev \
tcl-dev \
chrpath && \
rm -rf /var/lib/apt/lists/*

## Clone source code, build & Install tcl-tls
RUN cd /tmp && \
git clone http://github.com/flightaware/tcltls-rebuild.git && \
cd tcltls-rebuild && \
./prepare-build.sh ${DEBIAN_VERSION} && \
cd package-${DEBIAN_VERSION} && \
dpkg-buildpackage -b --no-sign && \
cd ../ && \
dpkg -i tcl-tls_*.deb

# DUMP1090
RUN mkdir -p /usr/lib/fr24/public_html/data
Expand Down
3 changes: 3 additions & 0 deletions root/etc/confd/html/templates/config.js.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ OutlineMlatColor = '#4040FF';
SiteCircles = true; // true to show circles (only shown if the center marker is shown)
// In miles, nautical miles, or km (depending settings value 'DisplayUnits')
SiteCirclesDistances = new Array(100,150,200);
DefaultSiteCirclesCount = 3;
DefaultSiteCirclesBaseDistance = 100;
DefaultSiteCirclesInterval = 50;

// Controls page title, righthand pane when nothing is selected
PageName = "PiAware Skyview";
Expand Down

0 comments on commit 7ad29dc

Please sign in to comment.