-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
image.sh.tpl
is too unhermetically hermetic!
#473
Milestone
Comments
GregBowyer
added a commit
to ticketmaster/rules_oci
that referenced
this issue
Jan 24, 2024
This is a small fix for being unable to build containers as bazel wipes out `$PATH` on which lives things the stump script likes to use, for instance `mktemp` This is a small hack for now to allow images to build. See: bazel-contrib#473 Signed-off-by: Greg Bowyer <greg.bowyer@ticketmaster.com>
That should be fixed by #459. Apologies for the slow progress. |
No, it's all good, getting hermetic is hard, and it's fun to learn what is not a shell built-in ;) We did a hack for now on the rules, but will track for the cleaner fix you are building, |
will be fixed by #569 |
fixed by #569 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suspect this is rendered moot by #459, but.
We run an aggressive hermetic setup on top of NixOS, I suspect this might happen for others who are being highly hermetic.
Presently,
image.bzl
is as follows:This fails as Bazel wipes out
$PATH
and as a result,mktemp
(and well everything) is basically none functional.It appears that adding in the dreaded
use_default_shell_env = True
fixes this.The text was updated successfully, but these errors were encountered: