Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed running docker script from within pwd containing spaces #76

Merged
merged 1 commit into from
Jun 27, 2017

Conversation

thomas-phillips-nz
Copy link
Contributor

@thomas-phillips-nz thomas-phillips-nz commented Jun 2, 2017

I used the default /dev/null:/dev/null mount so the strings passed to the docker run invocation could stay tidy. This should have no impact on the process.

I also added -e IMG_NAME=${IMG_NAME} to allow IMG_NAME to be passed on the command line when invoking the script, since this one variable is usually the single variable that gets changed. This is partly because the script checks that the variable is set, but not where it comes from (if you specify the variable on the command line, it gets caught a lot later inside the docker container)
This also allows basic running of the image builder without needing to create a config file.

This pull request partly addresses #75, at least for the docker build.

@XECDesign XECDesign merged commit c926384 into RPi-Distro:dev Jun 27, 2017
@XECDesign
Copy link
Member

Thanks

@thomas-phillips-nz thomas-phillips-nz deleted the fix-docker-pwd-spaces branch July 3, 2017 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants