Skip to content

Commit

Permalink
Added Debug Entrypoint for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
wHyEt committed Jan 4, 2024
1 parent 7edb940 commit d4537be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ EXPOSE 1984 1984
# Set entrypoint
COPY ./assets/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]
#ENTRYPOINT [ "/entrypoint.sh" ]
ENTRYPOINT ["tail", "-f", "/dev/null"]
7 changes: 4 additions & 3 deletions assets/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

set -e

3DPrinter_IP=${3DPrinter_IP}
3DPrinter_CODE=${3DPrinter_CODE}
3DPrinter_IP=${3DPrinter_IP:0.0.0.0}
3DPrinter_CODE=${3DPrinter_CODE:xxxxxx}

mkdir work
cd work
Expand All @@ -12,4 +12,5 @@ wget https://public-cdn.bambulab.com/upgrade/studio/plugins/01.04.00.15/linux_01
unzip linux_01.04.00.15.zip

wget https://github.com/AlexxIT/go2rtc/releases/download/v1.6.2/go2rtc_linux_amd64
chmod a+x go2rtc_linux_amd64
chmod a+x go2rtc_linux_amd64

0 comments on commit d4537be

Please sign in to comment.