We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the docs, I should be able to add to the oci container's env like this:
env = {"PATH": "/additional_binaries:/ddsource/proj/cicd_tools:$PATH"},
However, when I try this, the image fails to build.
Is this a known problem, or, am I doing something wrong?
I am able to get around this problem - I copied all of the $PATH values that the container was using and then I hard coded them like this:
env = {"PATH": "/additional_binaries:/ddsource/proj/cicd_tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"},
It would be better if i could use the $PATH variable.
The text was updated successfully, but these errors were encountered:
The error message I'm getting has this in it:
OCI Image //mysource/proj/cicd_tools:cicd_tools failed: (Exit 5): image_cicd_tools.sh failed: error executing OCIImage command ( from target //mysource/proj/cicd_tools:cicd_tools)
Sorry, something went wrong.
This should be working, see our tests here
rules_oci/examples/assertion/BUILD.bazel
Lines 101 to 112 in 96062d4
It would help me a lot if you could provide a repro.
Also what version of rules_oci is this?
No branches or pull requests
According to the docs, I should be able to add to the oci container's env like this:
However, when I try this, the image fails to build.
Is this a known problem, or, am I doing something wrong?
I am able to get around this problem - I copied all of the $PATH values that the container was using and then I hard coded them like this:
It would be better if i could use the $PATH variable.
The text was updated successfully, but these errors were encountered: