Skip to content

Commit

Permalink
updated source URL for radar.tar.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Nov 20, 2023
1 parent 4e4ca48 commit 5ee1325
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM ghcr.io/sdr-enthusiasts/docker-baseimage:base as build

ARG radarurl="ftp://public.tubby.org/radar-latest.tar.gz"
ARG radarurlcreds="ftp:"
ARG radar_base_url="https://1090mhz.uk/files/"

RUN set -x && \
# define packages needed for installation and general management of the container:
Expand All @@ -15,7 +14,8 @@ RUN set -x && \
# install stuff
mkdir -p /src && \
pushd /src && \
curl -sSL -u $radarurlcreds $radarurl -o radar.tgz && \
version="$(curl -sSL ${radar_base_url}/version.txt)" &&\
curl -sSL ${radar_base_url}/${version}.tar.gz -o radar.tgz && \
tar zxf radar.tgz && \
mv -f radar-* radar && \
cd radar && \
Expand Down

0 comments on commit 5ee1325

Please sign in to comment.