diff --git a/birdnet-pi/Dockerfile b/birdnet-pi/Dockerfile index 47f9062a6..977add4e3 100644 --- a/birdnet-pi/Dockerfile +++ b/birdnet-pi/Dockerfile @@ -110,34 +110,6 @@ RUN \ apt-get clean all && \ rm -rf /var/lib/apt/lists/* -# Add PR -#RUN \ -# cd /home/pi/BirdNET-Pi && \ -# git fetch origin pull/158/head:158 && \ -# git checkout main && \ -# git branch -D f-merge-prs || true && \ -# git checkout -b f-merge-prs && \ -# git merge 158 --no-edit && \ -# git stash && \ -# git checkout main && \ -# git merge f-merge-prs && \ -# git branch -d f-merge-prs && \ -# git branch -d 158 - -# Update with my repo if more recent -#WORKDIR /home/pi -#RUN \ -# git clone https://github.com/alexbelgium/BirdNET-Pi BirdNET-additions && \ -# date1="$(cd BirdNET-Pi && git show -s --format=%ct HEAD | xargs -I{} date -d @{} +%Y-%m-%d)" && \ -# timestamp1=$(date -d "$date1" +%s) && \ -# date2=$(cd BirdNET-additions && git show -s --format=%ct HEAD | xargs -I{} date -d @{} +%Y-%m-%d) && \ -# timestamp2=$(date -d "$date2" +%s) && \ -# if [ $timestamp2 -gt $timestamp1 ]; then \ -# cp -Rf BirdNET-additions/* BirdNET-Pi/ && \ -# rm -r BirdNET-additions && \ -# sed -i "/find /d" BirdNET-Pi/scripts/update_birdnet_snippets.sh && \ -# ./BirdNET-Pi/scripts/update_birdnet_snippets.sh; fi - ################## # 2 Modify Image # ##################