prepare separate images based on the used sdr device
This commit is contained in:
parent
896fd0c178
commit
a60521420b
4
build.sh
4
build.sh
@ -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 .
|
||||||
|
@ -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
|
5
docker/Dockerfiles/Dockerfile-rtlsdr
Normal file
5
docker/Dockerfiles/Dockerfile-rtlsdr
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM openwebrx-base
|
||||||
|
|
||||||
|
ADD docker/scripts/install-dependencies-rtlsdr.sh /
|
||||||
|
RUN /install-dependencies-rtlsdr.sh
|
||||||
|
|
5
docker/Dockerfiles/Dockerfile-sdrplay
Normal file
5
docker/Dockerfiles/Dockerfile-sdrplay
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM openwebrx-base
|
||||||
|
|
||||||
|
ADD docker/scripts/install-dependencies-sdrplay.sh /
|
||||||
|
RUN /install-dependencies-sdrplay.sh
|
||||||
|
|
2
docker/scripts/install-dependencies-rtlsdr.sh
Executable file
2
docker/scripts/install-dependencies-rtlsdr.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
2
docker/scripts/install-dependencies-sdrplay.sh
Executable file
2
docker/scripts/install-dependencies-sdrplay.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
Loading…
Reference in New Issue
Block a user