Skip to content

Commit

Permalink
readme update and hadolint
Browse files Browse the repository at this point in the history
  • Loading branch information
tovisx committed Mar 20, 2024
1 parent afd553a commit 9d2d217
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM jlesage/baseimage-gui:debian-11-v4.5.3

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# hadolint ignore=DL3008
RUN set -x && \
TEMP_PACKAGES=() && \
KEPT_PACKAGES=() && \
Expand Down Expand Up @@ -46,8 +47,8 @@ RUN set -x && \

apt-get update && \
apt-get install -y --no-install-recommends \
${KEPT_PACKAGES[@]} \
${TEMP_PACKAGES[@]} \
"${KEPT_PACKAGES[@]}" \
"${TEMP_PACKAGES[@]}" \
&& \

# RTLSDR - Clone and build
Expand Down Expand Up @@ -84,9 +85,6 @@ RUN set -x && \

set-cont-env APP_NAME "SDRReceiver"

ENV DISPLAY_WIDTH=1280 \
DISPLAY_HEIGHT=720

EXPOSE 5800 5900 6003

COPY rootfs/ /
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Docker container for [SDRReceiver](https://github.com/jeroenbeijer/SDRReceiver).

---

This container is based on the absolutely fantastic [jlesage/baseimage-gui](https://hub.docker.com/r/jlesage/baseimage-gui). All the hard work has been done by them, for advanced usage I suggest you check out the [README](https://github.com/jlesage/docker-baseimage-gui/blob/master/README.md) from [jlesage/baseimage-gui](https://hub.docker.com/r/jlesage/baseimage-gui).
This container is based on the absolutely fantastic [jlesage/baseimage-gui](https://github.com/jlesage/docker-baseimage-gui). All the hard work has been done by them, for advanced usage I suggest you check out the [README](https://github.com/jlesage/docker-baseimage-gui/blob/master/README.md) from [jlesage/baseimage-gui](https://github.com/jlesage/docker-baseimage-gui).

---

Expand Down
2 changes: 1 addition & 1 deletion rootfs/etc/cont-init.d/50-create-config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

touch /${CONFIG_FILE}
touch /"${CONFIG_FILE}"
2 changes: 1 addition & 1 deletion rootfs/startapp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export HOME=/config

/opt/SDRReceiver/bin/SDRReceiver -s /${CONFIG_FILE} | stdbuf -o0 awk '{print "[SDRReceiver] " strftime("%Y/%m/%d %H:%M:%S", systime()) " " $0}'
exec /opt/SDRReceiver/bin/SDRReceiver -s /"${CONFIG_FILE}"

sleep 10

0 comments on commit 9d2d217

Please sign in to comment.