-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
44 lines (33 loc) · 1.04 KB
/
Dockerfile
File metadata and controls
44 lines (33 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FROM debian:buster
LABEL maintainer="David Rickett"
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=America/Vancouver \
IP_GOESRECV=127.0.0.1
VOLUME ["/opt/goes"]
RUN apt update && apt upgrade -y && \
apt install -y \
build-essential \
cmake \
git-core \
libopencv-dev \
zlib1g-dev \
libproj-dev \
librtlsdr-dev \
libairspy-dev \
libhackrf-dev \
tzdata && \
apt clean
#Try to keep modifications to here and below
#RUN git clone --recursive https://github.com/pietern/goestools /usr/src/goestools
COPY ./lib/goestools /usr/src/goestools/
WORKDIR /usr/src/goestools
RUN sed -i 's+\./+/opt/goes/+g' ./share/goesproc-goesr.conf.in && \
mkdir build
WORKDIR /usr/src/goestools/build
RUN cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local && \
make && \
make install
COPY ./entrypoint.sh /usr/bin/entrypoint.sh
#RUN ["chmod", "+x", "/usr/bin/entrypoint.sh"]
ENTRYPOINT bash /usr/bin/entrypoint.sh
#ENTRYPOINT goesproc --config=/usr/local/share/goestools/goesproc-goesr.conf -m packet --subscribe tcp://${IP_GOESRECV}:5004