-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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
busybox image: add symlink for /bin/mkfifo #59268
busybox image: add symlink for /bin/mkfifo #59268
Conversation
This makes the bazel image more similar to the bash build, which uses the image from the docker registry. mkfifo is used by e.g. kops to send logs to both a /var/log file and to stdout (which is then captured by docker).
This addresses #59263. Note this is only against the 1.7 branch, and I believe this image is only used by CI (not by our releases). In 1.8 we switched how the image was built, so it doesn't need to be applied to 1.8+ (in fact, it can't be IIRC) |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justinsb, wojtek-t The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest |
/retest Review the full test history for this PR. Silence the bot with an |
@justinsb - it seems it didn't fix the problem - kops presubmit is still failing with this PR. |
/retest Review the full test history for this PR. Silence the bot with an |
1 similar comment
/retest Review the full test history for this PR. Silence the bot with an |
55f0391
to
5eb5599
Compare
We create a symlink to hostname, to force creation of the /tmp directory. There doesn't seem to be a direct way of creating a directory in the docker_build task in bazel.
5eb5599
to
19e23a0
Compare
Had to add a symlink under /tmp, to force creation of the |
/lgtm |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. |
This makes the bazel image more similar to the bash build, which uses
the image from the docker registry.
mkfifo is used by e.g. kops to send logs to both a /var/log file and to
stdout (which is then captured by docker).