Skip to content

Conversation

@illicitonion
Copy link
Contributor

Currently when using bazel run on a docker image, I get:

/[redacted].executable: line 281: docker_args[@]: unbound variable

Alternatively, we could just set +u before execing docker.

Currently when using `bazel run` on a docker image, I get:
```
/[redacted].executable: line 281: docker_args[@]: unbound variable
```

Alternatively, we could just `set +u` before execing docker.
@illicitonion
Copy link
Contributor Author

Thanks for the review @mindaugasrukas - updated, PTAL!

Copy link
Contributor

@mindaugasrukas mindaugasrukas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@linzhp linzhp merged commit 8cf7db7 into bazelbuild:master Apr 19, 2022
St0rmingBr4in pushed a commit to St0rmingBr4in/rules_docker that referenced this pull request Oct 17, 2022
Currently when using `bazel run` on a docker image, I get:
```
/[redacted].executable: line 281: docker_args[@]: unbound variable
```

Alternatively, we could just `set +u` before execing docker.
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.

3 participants