amzn / distance-assistant

Pedestrian monitor that provides visual feedback to help ensure proper social distancing guidelines are being observed
MIT License
135 stars 34 forks source link

COPY Failed at Step 22/29 : COPY Makefile /home/catkin_ws/src/darknet #14

Closed KDPSacramento closed 2 years ago

KDPSacramento commented 2 years ago

Hello,

I cannot get past an error when building the docker image. I was able to download the yolo model weights with no issues. When I run the docker build code, I get the following error:

Step 22/29 : COPY Makefile /home/catkin_ws/src/darknet COPY failed: file not found in build context or excluded by .dockerignore: stat Makefile: file does not exist

From the script, step 21 is:

Get darknet code

RUN git clone https://github.com/AlexeyAB/darknet.git darknet && \ cd darknet && \ git checkout bef2844

And step 22 is:

Copy Makefile to darknet

COPY Makefile /home/catkin_ws/src/darknet

I really have no idea what this code is doing, so it's difficult to for me to ask any question other than why is the script unable to identify the Makefile in the darknet folder and copy it to the catkin workspace? Any help is much appreciated!

Thanks!