From acb90918fd958cbb71ffe46864eaa471db431626 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Sat, 25 Nov 2023 17:37:01 +0100 Subject: [PATCH] Modify idf.sh to automatically find the hash of the image --- README.md | 2 +- idf.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76f4ca1..8965e95 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Make sure the `USB_GUID` and `USB_DEV` in `idf.py` have the correct values. 1. Build the docker image ```bash - $ sudo docker build . --tag hyperlink + $ docker build . ``` 2. Compile the project diff --git a/idf.sh b/idf.sh index 1688bfa..e6971e7 100755 --- a/idf.sh +++ b/idf.sh @@ -35,4 +35,4 @@ done # -docker run ${DEVICE_FLAGS} --rm --user $(id -u):${USB_GID} -v $PWD:/project -w /project -it hyperlink idf.py $@ +docker run ${DEVICE_FLAGS} --rm --user $(id -u):${USB_GID} -v $PWD:/project -w /project -it $(docker build -q .) idf.py $@