diff --git a/Dockerfile b/Dockerfile index 0e2a84f..10732b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,10 +45,8 @@ ENV WINGBITS_CONFIG_VERSION=0.0.5 ARG PERM_INSTALL="wget curl gettext-base tini ncurses-bin zlib1g lighttpd gettext-base libusb-1.0-0 librtlsdr0 rtl-sdr libncurses6 jq" RUN apt update && \ - apt install -y $PERM_INSTALL && \ - apt clean && apt autoclean && apt autoremove && \ - rm -rf /var/lib/apt/lists/* - + apt install -y $PERM_INSTALL + COPY wingbits_installer.sh /tmp COPY start.sh / COPY --from=builder /tmp/readsb/readsb /usr/bin/feed-wingbits @@ -68,4 +66,7 @@ RUN curl -o /etc/vector/vector.yaml https://gitlab.com/wingbits/config/-/raw/mas RUN curl -0 /etc/default/tar1090 https://raw.githubusercontent.com/wiedehopf/tar1090/master/default RUN sed -i 's|DEVICE_ID|WINGBITS_DEVICE_ID|g' /etc/vector/vector.yaml +RUN apt clean && apt autoclean && apt autoremove && \ + rm -rf /var/lib/apt/lists/* + ENTRYPOINT ["/usr/bin/tini", "--", "/start.sh"]