Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
FROM debian:latest as builder
RUN apt update && \
apt install -y \
build-essential \
debhelper \
fakeroot \
git \
libbladerf-dev \
libhackrf-dev \
liblimesuite-dev \
libncurses-dev \
librtlsdr-dev \
pkg-config && \
rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/flightaware/dump1090.git /dump1090
WORKDIR /dump1090
RUN git checkout 849a3b73299b4f56620ab16a6b62d88e17f35608
RUN make
FROM debian:latest
RUN apt update && \
apt install -y \
libbladerf2 \
libhackrf0 \
liblimesuite20.10-1 \
libncurses6 \
librtlsdr0 \
nginx && \
rm -rf /var/lib/apt/lists/*
COPY --from=builder /dump1090/dump1090 /usr/bin/dump1090
COPY --from=builder /dump1090/public_html/ /dump1090/public_html/
# fixes https://github.com/jeanralphaviles/dump1090-docker/issues/2
RUN echo '{"type": "dump1090-docker"}' > /dump1090/public_html/status.json && \
echo '{"rings": []}' > /dump1090/public_html/upintheair.json
COPY nginx.conf /nginx.conf
COPY mime.types /mime.types
COPY run.sh /run.sh
EXPOSE 8080 30001 30002 30003 30004 30005 30104
ENTRYPOINT ["/run.sh"]