Add curl and exit on error run.sh

This commit is contained in:
Felipe Santos
2022-11-18 15:27:38 -03:00
parent 270fc7c1b6
commit 46a278c067
2 changed files with 3 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ COPY ./docker/run.sh /run.sh
# Final image
FROM base
RUN apk add --no-cache bash tini ffmpeg
RUN apk add --no-cache bash tini curl ffmpeg
COPY --from=rootfs / /

View File

@@ -3,6 +3,8 @@
# Runs go2rtc
# ==============================================================================
set -euo pipefail
echo 'Starting go2rtc...' >&2
readonly config_path="/config"