Skip to content
New issue

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

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

Already on GitHub? # to your account

Dazel docker image missing the patch binary. #58

Open
robbrit opened this issue Dec 2, 2020 · 0 comments
Open

Dazel docker image missing the patch binary. #58

robbrit opened this issue Dec 2, 2020 · 0 comments

Comments

@robbrit
Copy link

robbrit commented Dec 2, 2020

Somewhere along the line, bazel shells out to the patch binary when building:

Error in fail: Error applying patch @io_bazel_rules_go//third_party:go_googleapis-deletebuild.patch:
bash: patch: command not found

The fix was easy, just added this to my Dockerfile.dazel:

RUN apt update && apt install -y patch

It might be useful to people if this was pre-installed in the default dazel/dazel image.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant