openwebrx-clone/docker/Dockerfiles/Dockerfile-full
Jakob Ketterl f47ebb2adb docker optimization
* move openwebrx project tools to a separate layer for lower download
  volume and faster builds
* use COPY instead of ADD
* COPY multiple files at once to reduce number of layers
2020-09-01 23:30:48 +02:00

28 lines
898 B
Plaintext

ARG ARCHTAG
FROM openwebrx-base:$ARCHTAG
COPY docker/scripts/install-dependencies-*.sh \
docker/files/sdrplay/install-lib.*.patch \
docker/scripts/install-connectors.sh /
RUN /install-dependencies-rtlsdr.sh &&\
/install-dependencies-soapysdr.sh &&\
/install-dependencies-hackrf.sh &&\
/install-dependencies-sdrplay.sh &&\
/install-dependencies-airspy.sh &&\
/install-dependencies-rtlsdr-soapy.sh &&\
/install-dependencies-plutosdr.sh &&\
/install-dependencies-limesdr.sh &&\
/install-dependencies-soapyremote.sh &&\
/install-dependencies-perseus.sh &&\
/install-dependencies-fcdpp.sh &&\
/install-dependencies-radioberry.sh &&\
/install-connectors.sh &&\
rm /install-dependencies-*.sh &&\
rm /install-lib.*.patch && \
rm /install-connectors.sh
COPY docker/files/services/sdrplay /etc/services.d/sdrplay
ADD . /opt/openwebrx