Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Docker build fails if directory name contains spaces #38

Closed
whbruce opened this issue Oct 22, 2020 · 1 comment
Closed

Docker build fails if directory name contains spaces #38

whbruce opened this issue Oct 22, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@whbruce
Copy link

whbruce commented Oct 22, 2020

If there is a space anywhere in the parent directory path, the build will fail.

Example: Assume code has been cloned into the directory /home/user/VA Serving, build will fail as follows

$ docker/build.sh
<snip>
Successfully tagged video-analytics-serving-gstreamer-base:latest
cp: target 'Serving/video-analytics-serving/docker/Dockerfile.env' is not a directory

Workaround is to remove spaces from directory name.

@whbruce whbruce added the bug Something isn't working label Oct 22, 2020
@akwrobel
Copy link
Contributor

akwrobel commented Apr 4, 2023

Closing due to age and relevancy with name change spacing is no longer an encountered issue.

@akwrobel akwrobel closed this as completed Apr 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants