mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-27 16:20:10 +00:00
build fix
This commit is contained in:
parent
9a99ca9118
commit
91cef40cb8
1 changed files with 2 additions and 2 deletions
|
@ -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 && \
|
||||
|
|
Loading…
Reference in a new issue