prepare separate images based on the used sdr device

This commit is contained in:
Jakob Ketterl 2019-01-21 17:02:58 +00:00
parent 896fd0c178
commit a60521420b
10 changed files with 20 additions and 4 deletions

View File

@ -1,2 +1,4 @@
#!/bin/bash #!/bin/bash
docker build -t jketterl/openwebrx:latest . docker build -t openwebrx-base -f docker/Dockerfiles/Dockerfile-base .
docker build -t jketterl/openwebrx-rtlsdr -t jketterl/openwebrx -f docker/Dockerfiles/Dockerfile-rtlsdr .
docker build -t jketterl/openwebrs-sdrplay -f docker/Dockerfiles/Dockerfile-sdrplay .

View File

@ -1,6 +1,6 @@
FROM raspbian/stretch FROM raspbian/stretch
ADD docker/install-dependencies.sh / ADD docker/scripts/install-dependencies.sh /
RUN /install-dependencies.sh RUN /install-dependencies.sh
ADD . /openwebrx ADD . /openwebrx
@ -9,5 +9,5 @@ WORKDIR /openwebrx
VOLUME /config VOLUME /config
ENTRYPOINT [ "/openwebrx/docker/run.sh" ] ENTRYPOINT [ "/openwebrx/docker/scripts/run.sh" ]
EXPOSE 8073 EXPOSE 8073

View File

@ -0,0 +1,5 @@
FROM openwebrx-base
ADD docker/scripts/install-dependencies-rtlsdr.sh /
RUN /install-dependencies-rtlsdr.sh

View File

@ -0,0 +1,5 @@
FROM openwebrx-base
ADD docker/scripts/install-dependencies-sdrplay.sh /
RUN /install-dependencies-sdrplay.sh

View File

@ -0,0 +1,2 @@
#!/bin/sh

View File

@ -0,0 +1,2 @@
#!/bin/bash

View File

@ -1,2 +1,2 @@
#!/bin/bash #!/bin/bash
docker push jketterl/openwebrx docker push jketterl/openwebrx jketterl/openwebrx-rtlsdr jketterl/openwebrx-sdrplay