1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-10-16 13:50:46 +00:00

build fix

This commit is contained in:
kx1t 2024-05-23 18:28:10 -04:00 committed by Matthias Wirth
parent 9a99ca9118
commit 91cef40cb8

View file

@ -3,7 +3,7 @@ FROM ghcr.io/sdr-enthusiasts/docker-baseimage:base AS build
RUN set -x && \
apt-get update -y && \
apt-get install -q -o Dpkg::Options::="--force-confnew" -y \
git gcc && \
gcc && \
cd / && \
curl -sSL https://raw.githubusercontent.com/sdr-enthusiasts/docker-adsb-ultrafeeder/main/downloads/distance.c -o /distance.c && \
gcc -static distance.c -o distance -lm -Ofast
@ -68,7 +68,7 @@ RUN TEMP_PACKAGES=() && \
echo "alias nano=\"nano -l\"" >> /root/.bashrc
COPY rootfs/ /
COPY --from=build /docker-vesselalert/src/distance /usr/local/bin/distance
COPY --from=build /distance /usr/local/bin/distance
# Add Container Version
RUN set -x && \