openwebrx-clone/docker/Dockerfiles/Dockerfile-base

25 lines
674 B
Plaintext
Raw Normal View History

2019-01-22 11:52:03 +00:00
ARG BASE_IMAGE
FROM $BASE_IMAGE
2019-01-13 14:12:09 +00:00
RUN apk add --no-cache bash
RUN ln -s /usr/local/lib /usr/local/lib64
2019-08-23 20:21:30 +00:00
ADD docker/scripts/direwolf-1.5.patch /
ADD docker/scripts/install-dependencies.sh /
2019-01-13 14:12:09 +00:00
RUN /install-dependencies.sh
ADD . /opt/openwebrx
WORKDIR /opt/openwebrx
2019-01-13 14:12:09 +00:00
RUN mkdir -p /tmp/openwebrx && \
mv "/opt/openwebrx/config_webrx.py" "/opt/openwebrx/config_webrx.py.orig" && \
sed 's/temporary_directory = "\/tmp"/temporary_directory = "\/tmp\/openwebrx"/' < "/opt/openwebrx/config_webrx.py.orig" > "/opt/openwebrx/config_webrx.py" && \
rm "/opt/openwebrx/config_webrx.py.orig"
2019-01-13 14:12:09 +00:00
2019-01-13 21:04:29 +00:00
VOLUME /config
ENTRYPOINT [ "/opt/openwebrx/docker/scripts/run.sh" ]
2019-01-13 14:12:09 +00:00
EXPOSE 8073