Open yufree opened 6 years ago
When the path contains blank, the render_docker would fail. I suggested to add a test for blank in path. When the path contains blank, use extra quotation for the path of Dockerfile.
render_docker
Dockerfile
For example:
$docker_build_cmd [1] "docker build --no-cache=false --rm=true /Users/hehe/Box Sync/xcmsrocker/ISMMS"
This command would fail since the blank in the path would break the build and the right one should be
$docker_build_cmd [1] "docker build --no-cache=false --rm=true "/Users/hehe/Box Sync/xcmsrocker/ISMMS""
Also, I am curious about why you use \" \" for the tag and a default tag with lastest might be fine in most cases.
\" \"
lastest
ps. I know blank in path is not cool and I have no idea why Box use such path...
@yufree -good catch! Let me try to find some time this week and fix it.
When the path contains blank, the
render_docker
would fail. I suggested to add a test for blank in path. When the path contains blank, use extra quotation for the path ofDockerfile
.For example:
This command would fail since the blank in the path would break the build and the right one should be
Also, I am curious about why you use
\" \"
for the tag and a default tag withlastest
might be fine in most cases.ps. I know blank in path is not cool and I have no idea why Box use such path...