Added first cut of Dockerfile for building rtl-ais

pull/38/head
Bryan Klofas 2021-05-18 18:18:09 -07:00
rodzic 1ef4dc3e90
commit 0535890ef6
1 zmienionych plików z 24 dodań i 0 usunięć

24
Dockerfile 100644
Wyświetl plik

@ -0,0 +1,24 @@
FROM debian:stretch-slim
ENV VER=${VER:-master} \
REPO=https://github.com/dgiardini/rtl-ais.git \
APP=/usr/src/app \
GIT_SSL_NO_VERIFY=true
WORKDIR $APP
RUN apt-get update && apt-get install -y \
git \
rtl-sdr \
librtlsdr-dev \
make \
build-essential \
pkg-config \
libusb-1.0-0-dev \
&& git clone -b $VER $REPO $APP \
&& make
CMD $APP/rtl_ais -n
#EXPOSE 10110/udp