marcelmaatkamp / docker-flightradar24-feeder

Feed the ADS/B data from a $10 RTLSDR dongle to http://flightradar24.com for a premium subscription
33 stars 8 forks source link

Update to 1.0.34-0 #2

Open CondormanFr opened 1 year ago

CondormanFr commented 1 year ago

Hi, I received an email from flightradar because my version is out of date... The last version is 1.0.34-0 (the url changes) Is-it possible to update ? I get an error when i tried to rebuild the image

Step 2/8 : RUN  add-apt-repository ppa:ubuntu-toolchain-r/test && apt-get update && apt-get install -y wget gcc-4.9 g++-4.9 && rm -rf /var/lib/apt/lists/*
 ---> Running in bcbc4d5b83e6
Cannot add PPA: 'ppa:ubuntu-toolchain-r/test'.
Please check that the PPA name or format is correct.

Thanks

CondormanFr commented 1 year ago

I solved with making theses changes :

FROM marcelmaatkamp/docker-gnuradio-dump1090

# To sign up for the first time and acquire a flightradar24 key:  
#  $ docker run -ti marcelmaatkamp/flightradar24-feeder --signup 

# After that start the feeder with the key:  
#  $ docker run -d \ 
#    --name flightradar_feeder \
#    --restart=always \
#    --privileged \
#    -p 8080:8080 \
#    -p 8754:8754 \
#    -p 30001:30001 \
#    -p 30002:30002 \
#    -p 30003:30003 \
#    -p 30334:30334 \
#    marcelmaatkamp/flightradar24-feeder \
#      --fr24key=<flightradar24 signup key>

RUN \
 apt-get update &&\
 apt-get install --reinstall ca-certificates &&\
 add-apt-repository ppa:linrunner/tlp &&\
 add-apt-repository ppa:ubuntu-toolchain-r/test &&\
 apt-get update &&\ 
 apt-get install -y wget gcc-4.9 g++-4.9 &&\
 rm -rf /var/lib/apt/lists/*

ENV FLIGHTRADAR_VERSION 1.0.34-0
RUN \
 wget https://repo-feed.flightradar24.com/linux_x86_64_binaries/fr24feed_${FLIGHTRADAR_VERSION}_amd64.tgz &&\
 tar zxf fr24feed_${FLIGHTRADAR_VERSION}_amd64.tgz &&\
 export LD_LIBRARY_PATH=/usr/local/lib64/:$LD_LIBRARY_PATH

ADD fr24feed.ini /etc/fr24feed.ini
WORKDIR fr24feed_amd64

EXPOSE 8080 8754 30001 30002 30003 30334
ENTRYPOINT ["./fr24feed"]