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

Fix use of ODK_BINDS option. #1050

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Fix use of ODK_BINDS option. #1050

merged 1 commit into from
Apr 26, 2024

Conversation

gouttegd
Copy link
Contributor

The run.sh script is supposed to allow specifying extra bindings between the local filesystem and the container, with a ODK_BINDS option in the run.sh.conf file:

ODK_BINDS=/path/to/my/local/dir:/path/to/the/container/mount/point

This currently doesn't work when using the Docker (standard) backend because of a single missing g option to the sed command that converts the value of ODK_BINDS into -v options to pass to docker run.

This PR simply adds the missing g option.

The run.sh script is supposed to allow specifying extra bindings between
the local filesystem and the container, with a `ODK_BINDS` option in the
`run.sh.conf` file:

```
ODK_BINDS=/path/to/my/local/dir:/path/to/the/container/mount/point
```

This currently doesn't work when using the Docker (standard) backend
because of a single missing `g` option to the sed command that converts
the value of `ODK_BINDS` into `-v` options to pass to `docker run`.

This commit simply adds the missing `g` option.
@gouttegd gouttegd merged commit ece1947 into master Apr 26, 2024
1 check passed
@gouttegd gouttegd deleted the fix-run-odk-bind branch April 26, 2024 13:44
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