mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-04 14:07:32 +00:00
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
This commit is contained in:
parent
f90670f477
commit
f47ebb2adb
16 changed files with 88 additions and 58 deletions
|
|
@ -1,8 +1,8 @@
|
|||
ARG ARCHTAG
|
||||
FROM openwebrx-soapysdr-base:$ARCHTAG
|
||||
|
||||
ADD docker/scripts/install-dependencies-rtlsdr-soapy.sh /
|
||||
COPY docker/scripts/install-dependencies-rtlsdr-soapy.sh /
|
||||
RUN /install-dependencies-rtlsdr-soapy.sh &&\
|
||||
rm /install-dependencies-rtlsdr-soapy.sh
|
||||
|
||||
ADD . /opt/openwebrx
|
||||
COPY . /opt/openwebrx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue