move openwebrx installation to the end to profit from docker build cache

This commit is contained in:
Jakob Ketterl 2020-03-21 21:44:09 +01:00
parent 05485ba8e3
commit 7948b7bfa1
11 changed files with 18 additions and 2 deletions

View File

@ -4,3 +4,5 @@ FROM openwebrx-soapysdr-base:$ARCHTAG
ADD docker/scripts/install-dependencies-airspy.sh /
RUN /install-dependencies-airspy.sh &&\
rm /install-dependencies-airspy.sh
ADD . /opt/openwebrx

View File

@ -9,8 +9,6 @@ ADD docker/scripts/install-dependencies.sh /
RUN /install-dependencies.sh && \
rm /install-dependencies.sh
ADD . /opt/openwebrx
WORKDIR /opt/openwebrx
VOLUME /etc/openwebrx

View File

@ -19,3 +19,5 @@ RUN /install-dependencies-rtlsdr.sh &&\
ADD docker/scripts/install-connectors.sh /
RUN /install-connectors.sh &&\
rm /install-connectors.sh
ADD . /opt/openwebrx

View File

@ -5,3 +5,4 @@ ADD docker/scripts/install-dependencies-hackrf.sh /
RUN /install-dependencies-hackrf.sh &&\
rm /install-dependencies-hackrf.sh
ADD . /opt/openwebrx

View File

@ -4,3 +4,5 @@ FROM openwebrx-soapysdr-base:$ARCHTAG
ADD docker/scripts/install-dependencies-limesdr.sh /
RUN /install-dependencies-limesdr.sh &&\
rm /install-dependencies-limesdr.sh
ADD . /opt/openwebrx

View File

@ -5,3 +5,4 @@ ADD docker/scripts/install-dependencies-perseus.sh /
RUN /install-dependencies-perseus.sh &&\
rm /install-dependencies-perseus.sh
ADD . /opt/openwebrx

View File

@ -4,3 +4,5 @@ FROM openwebrx-soapysdr-base:$ARCHTAG
ADD docker/scripts/install-dependencies-plutosdr.sh /
RUN /install-dependencies-plutosdr.sh &&\
rm /install-dependencies-plutosdr.sh
ADD . /opt/openwebrx

View File

@ -8,3 +8,5 @@ RUN /install-dependencies-rtlsdr.sh &&\
rm /install-dependencies-rtlsdr.sh &&\
/install-connectors.sh &&\
rm /install-connectors.sh
ADD . /opt/openwebrx

View File

@ -4,3 +4,5 @@ FROM openwebrx-soapysdr-base:$ARCHTAG
ADD docker/scripts/install-dependencies-rtlsdr-soapy.sh /
RUN /install-dependencies-rtlsdr-soapy.sh &&\
rm /install-dependencies-rtlsdr-soapy.sh
ADD . /opt/openwebrx

View File

@ -6,3 +6,5 @@ ADD docker/scripts/install-lib.*.patch /
RUN /install-dependencies-sdrplay.sh &&\
rm /install-dependencies-sdrplay.sh &&\
rm /install-lib.*.patch
ADD . /opt/openwebrx

View File

@ -4,3 +4,5 @@ FROM openwebrx-soapysdr-base:$ARCHTAG
ADD docker/scripts/install-dependencies-soapyremote.sh /
RUN /install-dependencies-soapyremote.sh &&\
rm /install-dependencies-soapyremote.sh
ADD . /opt/openwebrx