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 $@