From 8aad502fc629c3892c3e8f863dbcab30039c6cd1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 4 Mar 2025 22:41:09 +0100 Subject: [PATCH] Clean --- birdnet-pi/Dockerfile | 28 ---------------------------- 1 file changed, 28 deletions(-) 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 # ##################