mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-23 22:30:09 +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 && \
|
RUN set -x && \
|
||||||
apt-get update -y && \
|
apt-get update -y && \
|
||||||
apt-get install -q -o Dpkg::Options::="--force-confnew" -y \
|
apt-get install -q -o Dpkg::Options::="--force-confnew" -y \
|
||||||
git gcc && \
|
gcc && \
|
||||||
cd / && \
|
cd / && \
|
||||||
curl -sSL https://raw.githubusercontent.com/sdr-enthusiasts/docker-adsb-ultrafeeder/main/downloads/distance.c -o /distance.c && \
|
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
|
gcc -static distance.c -o distance -lm -Ofast
|
||||||
|
@ -68,7 +68,7 @@ RUN TEMP_PACKAGES=() && \
|
||||||
echo "alias nano=\"nano -l\"" >> /root/.bashrc
|
echo "alias nano=\"nano -l\"" >> /root/.bashrc
|
||||||
|
|
||||||
COPY rootfs/ /
|
COPY rootfs/ /
|
||||||
COPY --from=build /docker-vesselalert/src/distance /usr/local/bin/distance
|
COPY --from=build /distance /usr/local/bin/distance
|
||||||
|
|
||||||
# Add Container Version
|
# Add Container Version
|
||||||
RUN set -x && \
|
RUN set -x && \
|
||||||
|
|
Loading…
Reference in a new issue