Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
shawaj authored Jul 5, 2024
1 parent 85edaf9 commit 13e8f69
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]

0 comments on commit 13e8f69

Please sign in to comment.